|
1 | | -import * as tools from './tools' |
2 | | -import * as core from './core' |
| 1 | +import * as _ from './index.js' |
3 | 2 |
|
4 | | -Object.assign(global, tools) |
5 | | -Object.assign(global, core) |
| 3 | +Object.assign(global, _) |
6 | 4 |
|
7 | 5 | declare global { |
8 | | - const $: typeof core.$ |
9 | | - const argv: typeof core.argv |
10 | | - const cd: typeof core.cd |
11 | | - const kleur: typeof tools.kleur |
12 | | - const fs: typeof tools.fs |
13 | | - const glob: typeof tools.glob |
14 | | - const nothrow: typeof core.nothrow |
15 | | - const os: typeof tools.os |
16 | | - const path: typeof tools.path |
17 | | - const sleep: typeof core.sleep |
18 | | - const YAML: typeof tools.YAML |
19 | | - const io: typeof tools.io |
20 | | - const read: typeof tools.read |
21 | | - const write: typeof tools.write |
22 | | - const template: typeof tools.template |
23 | | - const style: typeof tools.style |
24 | | - const resguard: typeof tools.resguard |
| 6 | + const $: typeof _.$ |
| 7 | + const argv: typeof _.argv |
| 8 | + const cd: typeof _.cd |
| 9 | + const kleur: typeof _.kleur |
| 10 | + const fs: typeof _.fs |
| 11 | + const glob: typeof _.glob |
| 12 | + const nothrow: typeof _.nothrow |
| 13 | + const os: typeof _.os |
| 14 | + const path: typeof _.path |
| 15 | + const sleep: typeof _.sleep |
| 16 | + const YAML: typeof _.YAML |
| 17 | + const io: typeof _.io |
| 18 | + const read: typeof _.read |
| 19 | + const write: typeof _.write |
| 20 | + const template: typeof _.template |
| 21 | + const style: typeof _.style |
| 22 | + const resguard: typeof _.resguard |
25 | 23 | } |
0 commit comments