@@ -7,39 +7,91 @@ import type {
7
7
import type {
8
8
ArgParsingOptions as _ArgParsingOptions ,
9
9
Args as _Args ,
10
+ basename as _basename ,
11
+ Buffer as _Buffer ,
12
+ dirname as _dirname ,
13
+ extname as _extname ,
14
+ fromFileUrl as _fromFileUrl ,
15
+ isAbsolute as _isAbsolute ,
10
16
iter as _iter ,
11
17
iterSync as _iterSync ,
18
+ join as _join ,
19
+ normalize as _normalize ,
12
20
readAll as _readAll ,
13
21
readAllSync as _readAllSync ,
22
+ readLines as _readLines ,
23
+ relative as _relative ,
24
+ resolve as _resolve ,
25
+ toFileUrl as _toFileUrl ,
26
+ toNamespacedPath as _toNamespacedPath ,
14
27
writeAll as _writeAll ,
15
28
writeAllSync as _writeAllSync ,
16
29
} from "./deps.ts" ;
17
30
18
31
declare global {
32
+ // dzx
19
33
const $ : $ ;
20
34
const cd : typeof _cd ;
21
35
const quote : typeof _quote ;
22
- const parseFlags : typeof _parseFlags ;
36
+
37
+ // std/io
38
+ const Buffer : typeof _Buffer ;
23
39
const iter : typeof _iter ;
24
40
const iterSync : typeof _iterSync ;
25
41
const readAll : typeof _readAll ;
26
42
const readAllSync : typeof _readAllSync ;
43
+ const readLines : typeof _readLines ;
27
44
const writeAll : typeof _writeAll ;
28
45
const writeAllSync : typeof _writeAllSync ;
29
46
47
+ // std/path
48
+ const basename : typeof _basename ;
49
+ const dirname : typeof _dirname ;
50
+ const extname : typeof _extname ;
51
+ const fromFileUrl : typeof _fromFileUrl ;
52
+ const isAbsolute : typeof _isAbsolute ;
53
+ const join : typeof _join ;
54
+ const normalize : typeof _normalize ;
55
+ const relative : typeof _relative ;
56
+ const resolve : typeof _resolve ;
57
+ const toFileUrl : typeof _toFileUrl ;
58
+ const toNamespacedPath : typeof _toNamespacedPath ;
59
+
60
+ // std/flags
61
+ const parseFlags : typeof _parseFlags ;
30
62
type ArgParsingOptions = _ArgParsingOptions ;
31
63
type Args = _Args ;
32
64
33
65
interface Window {
66
+ // dzx
34
67
$ : $ ;
35
68
cd : typeof _cd ;
36
69
quote : typeof _quote ;
37
- parseFlags : typeof _parseFlags ;
70
+
71
+ // std/io
72
+ Buffer : typeof _Buffer ;
38
73
iter : typeof _iter ;
39
74
iterSync : typeof _iterSync ;
40
75
readAll : typeof _readAll ;
41
76
readAllSync : typeof _readAllSync ;
77
+ readLines : typeof _readLines ;
42
78
writeAll : typeof _writeAll ;
43
79
writeAllSync : typeof _writeAllSync ;
80
+
81
+ // std/path
82
+ basename : typeof _basename ;
83
+ dirname : typeof _dirname ;
84
+ extname : typeof _extname ;
85
+ fromFileUrl : typeof _fromFileUrl ;
86
+ isAbsolute : typeof _isAbsolute ;
87
+ join : typeof _join ;
88
+ normalize : typeof _normalize ;
89
+ relative : typeof _relative ;
90
+ resolve : typeof _resolve ;
91
+ toFileUrl : typeof _toFileUrl ;
92
+ toNamespacedPath : typeof _toNamespacedPath ;
93
+
94
+ // std/flags
95
+ parseFlags : typeof _parseFlags ;
44
96
}
45
97
}
0 commit comments