|
1 | 1 | import type {
|
2 | 2 | $,
|
3 | 3 | cd as _cd,
|
4 |
| - parseFlags as _parseFlags, |
| 4 | + flags as _flags, |
| 5 | + fs as _fs, |
| 6 | + io as _io, |
| 7 | + log as _log, |
| 8 | + path as _path, |
5 | 9 | quote as _quote,
|
6 | 10 | } from "./mod.ts";
|
7 |
| -import type { |
8 |
| - ArgParsingOptions as _ArgParsingOptions, |
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, |
16 |
| - iter as _iter, |
17 |
| - iterSync as _iterSync, |
18 |
| - join as _join, |
19 |
| - normalize as _normalize, |
20 |
| - readAll as _readAll, |
21 |
| - readAllSync as _readAllSync, |
22 |
| - readLines as _readLines, |
23 |
| - relative as _relative, |
24 |
| - resolve as _resolve, |
25 |
| - toFileUrl as _toFileUrl, |
26 |
| - toNamespacedPath as _toNamespacedPath, |
27 |
| - writeAll as _writeAll, |
28 |
| - writeAllSync as _writeAllSync, |
29 |
| -} from "./deps.ts"; |
30 | 11 |
|
31 | 12 | declare global {
|
32 | 13 | // dzx
|
33 | 14 | const $: $;
|
34 | 15 | const cd: typeof _cd;
|
35 | 16 | const quote: typeof _quote;
|
36 | 17 |
|
37 |
| - // std/io |
38 |
| - const Buffer: typeof _Buffer; |
39 |
| - const iter: typeof _iter; |
40 |
| - const iterSync: typeof _iterSync; |
41 |
| - const readAll: typeof _readAll; |
42 |
| - const readAllSync: typeof _readAllSync; |
43 |
| - const readLines: typeof _readLines; |
44 |
| - const writeAll: typeof _writeAll; |
45 |
| - const writeAllSync: typeof _writeAllSync; |
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; |
62 |
| - type ArgParsingOptions = _ArgParsingOptions; |
63 |
| - type Args = _Args; |
| 18 | + // x |
| 19 | + const path: typeof _path; |
| 20 | + const io: typeof _io; |
| 21 | + const fs: typeof _fs; |
| 22 | + const log: typeof _log; |
| 23 | + const flags: typeof _flags; |
64 | 24 |
|
65 | 25 | interface Window {
|
66 | 26 | // dzx
|
67 | 27 | $: $;
|
68 | 28 | cd: typeof _cd;
|
69 | 29 | quote: typeof _quote;
|
70 | 30 |
|
71 |
| - // std/io |
72 |
| - Buffer: typeof _Buffer; |
73 |
| - iter: typeof _iter; |
74 |
| - iterSync: typeof _iterSync; |
75 |
| - readAll: typeof _readAll; |
76 |
| - readAllSync: typeof _readAllSync; |
77 |
| - readLines: typeof _readLines; |
78 |
| - writeAll: typeof _writeAll; |
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; |
| 31 | + // x |
| 32 | + path: typeof _path; |
| 33 | + io: typeof _io; |
| 34 | + fs: typeof _fs; |
| 35 | + log: typeof _log; |
| 36 | + flags: typeof _flags; |
96 | 37 | }
|
97 | 38 | }
|
0 commit comments