-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
38 additions
and
5 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,29 @@ | ||
import { | ||
$, | ||
argv as _argv, | ||
cd, | ||
chalk as _chalk, | ||
fetch as _fetch, | ||
fs as _fs, | ||
globby as _globby, | ||
nothrow, | ||
os as _os, | ||
question, | ||
sleep, | ||
} from '.' | ||
|
||
declare global { | ||
var $: $ | ||
var argv: typeof _argv | ||
var cd: cd | ||
var chalk: typeof _chalk | ||
// @ts-ignore | ||
var fetch: typeof _fetch | ||
var fs: typeof _fs | ||
var globby: typeof _globby.globby & typeof _globby | ||
var glob: typeof _globby.globby & typeof _globby | ||
var nothrow: nothrow | ||
var os: typeof _os | ||
var question: question | ||
var sleep: sleep | ||
} |
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,3 @@ | ||
import {registerGlobals} from './index.mjs' | ||
|
||
registerGlobals() |
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