-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If you try to enable broccoli-debug these actually crash, because buildDebugCallback is really a static method that needs the correct `this`. This used to work, but something about the CJS-interop implementation changed at some point.
- Loading branch information
Showing
4 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
declare module 'broccoli-debug' { | ||
import { InputNode, Node } from "broccoli-plugin"; | ||
import { InputNode, Node } from 'broccoli-plugin'; | ||
export default class BroccoliDebug implements Tree { | ||
constructor(inputTree: InputNode, name: 'string'); | ||
__broccoliGetInfo__(): any; | ||
static buildDebugCallback(name: string): (inputTree: InputNode, name: string) => Node; | ||
} | ||
export function buildDebugCallback(name: string): (inputTree: InputNode, name: string) => Node; | ||
} |