Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enforce type checking on
babel-{cli,node}
(#14765)
* ts * Update packages/babel-node/src/babel-node.ts Co-authored-by: Hu谩ng J霉nli脿ng <jlhwung@gmail.com> * review * review * fix * Update packages/babel-node/src/_babel-node.ts Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com> * review * Apply suggestions from code review Co-authored-by: Justin Ridgewell <justin@ridgewell.name> * review Co-authored-by: Hu谩ng J霉nli脿ng <jlhwung@gmail.com> Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
- Loading branch information
1 parent
486d27a
commit b807206
Showing
13 changed files
with
151 additions
and
68 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
declare module "fs-readdir-recursive" { | ||
function read( | ||
root: string, | ||
filter?: (filename: string, index: number, dir: string) => boolean | ||
): string[]; | ||
export = read; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare module "kexec" { | ||
function execvp(cmd: string, args?: string[]): string; | ||
export = execvp; | ||
} |
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
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
Oops, something went wrong.