/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
@types
/
node
/
/var/www/greso.tech/server/nsm/node_modules/@types/node
mkdir
upload
Name
Size
Mode
Actions
assert/
-
0755
rm
dns/
-
0755
rm
fs/
-
0755
rm
readline/
-
0755
rm
stream/
-
0755
rm
timers/
-
0755
rm
ts4.8/
-
0755
rm
assert.d.ts
41218
0755
edit
dl
rm
async_hooks.d.ts
22585
0755
edit
dl
rm
buffer.d.ts
107224
0755
edit
dl
rm
child_process.d.ts
67998
0755
edit
dl
rm
cluster.d.ts
20640
0755
edit
dl
rm
console.d.ts
18342
0755
edit
dl
rm
constants.d.ts
613
0755
edit
dl
rm
crypto.d.ts
183978
0755
edit
dl
rm
dgram.d.ts
26787
0755
edit
dl
rm
diagnostics_channel.d.ts
7685
0755
edit
dl
rm
dns.d.ts
30126
0755
edit
dl
rm
dom-events.d.ts
5521
0755
edit
dl
rm
domain.d.ts
7820
0755
edit
dl
rm
events.d.ts
34401
0755
edit
dl
rm
fs.d.ts
182973
0755
edit
dl
rm
globals.d.ts
9714
0755
edit
dl
rm
globals.global.d.ts
39
0755
edit
dl
rm
http.d.ts
79056
0755
edit
dl
rm
http2.d.ts
113815
0755
edit
dl
rm
https.d.ts
23594
0755
edit
dl
rm
index.d.ts
6589
0755
edit
dl
rm
inspector.d.ts
125369
0755
edit
dl
rm
LICENSE
1141
0755
edit
dl
rm
module.d.ts
4259
0755
edit
dl
rm
net.d.ts
40921
0755
edit
dl
rm
os.d.ts
18033
0755
edit
dl
rm
package.json
7064
0755
edit
dl
rm
path.d.ts
7751
0755
edit
dl
rm
perf_hooks.d.ts
24303
0755
edit
dl
rm
process.d.ts
73684
0755
edit
dl
rm
punycode.d.ts
5482
0755
edit
dl
rm
querystring.d.ts
6545
0755
edit
dl
rm
readline.d.ts
22862
0755
edit
dl
rm
README.md
2553
0755
edit
dl
rm
repl.d.ts
19489
0755
edit
dl
rm
stream.d.ts
70767
0755
edit
dl
rm
string_decoder.d.ts
2838
0755
edit
dl
rm
test.d.ts
43820
0755
edit
dl
rm
timers.d.ts
11675
0755
edit
dl
rm
tls.d.ts
54923
0755
edit
dl
rm
trace_events.d.ts
7928
0755
edit
dl
rm
tty.d.ts
10053
0755
edit
dl
rm
url.d.ts
39490
0755
edit
dl
rm
util.d.ts
82275
0755
edit
dl
rm
v8.d.ts
26127
0755
edit
dl
rm
vm.d.ts
38873
0755
edit
dl
rm
wasi.d.ts
6874
0755
edit
dl
rm
worker_threads.d.ts
33894
0755
edit
dl
rm
zlib.d.ts
19561
0755
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/@types/node/module.d.ts
(4259B)
/** * @since v0.3.7 */ declare module 'module' { import { URL } from 'node:url'; namespace Module { /** * The `module.syncBuiltinESMExports()` method updates all the live bindings for * builtin `ES Modules` to match the properties of the `CommonJS` exports. It * does not add or remove exported names from the `ES Modules`. * * ```js * const fs = require('node:fs'); * const assert = require('node:assert'); * const { syncBuiltinESMExports } = require('node:module'); * * fs.readFile = newAPI; * * delete fs.readFileSync; * * function newAPI() { * // ... * } * * fs.newAPI = newAPI; * * syncBuiltinESMExports(); * * import('node:fs').then((esmFS) => { * // It syncs the existing readFile property with the new value * assert.strictEqual(esmFS.readFile, newAPI); * // readFileSync has been deleted from the required fs * assert.strictEqual('readFileSync' in fs, false); * // syncBuiltinESMExports() does not remove readFileSync from esmFS * assert.strictEqual('readFileSync' in esmFS, true); * // syncBuiltinESMExports() does not add names * assert.strictEqual(esmFS.newAPI, undefined); * }); * ``` * @since v12.12.0 */ function syncBuiltinESMExports(): void; /** * `path` is the resolved path for the file for which a corresponding source map * should be fetched. * @since v13.7.0, v12.17.0 * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise. */ function findSourceMap(path: string, error?: Error): SourceMap; interface SourceMapPayload { file: string; version: number; sources: string[]; sourcesContent: string[]; names: string[]; mappings: string; sourceRoot: string; } interface SourceMapping { generatedLine: number; generatedColumn: number; originalSource: string; originalLine: number; originalColumn: number; } /** * @since v13.7.0, v12.17.0 */ class SourceMap { /** * Getter for the payload used to construct the `SourceMap` instance. */ readonly payload: SourceMapPayload; constructor(payload: SourceMapPayload); /** * Given a line number and column number in the generated source file, returns * an object representing the position in the original file. The object returned * consists of the following keys: */ findEntry(line: number, column: number): SourceMapping; } } interface Module extends NodeModule {} class Module { static runMain(): void; static wrap(code: string): string; static createRequire(path: string | URL): NodeRequire; static builtinModules: string[]; static isBuiltin(moduleName: string): boolean; static Module: typeof Module; constructor(id: string, parent?: Module); } global { interface ImportMeta { url: string; /** * @experimental * This feature is only available with the `--experimental-import-meta-resolve` * command flag enabled. * * Provides a module-relative resolution function scoped to each module, returning * the URL string. * * @param specified The module specifier to resolve relative to `parent`. * @param parent The absolute parent module URL to resolve from. If none * is specified, the value of `import.meta.url` is used as the default. */ resolve?(specified: string, parent?: string | URL): Promise<string>; } } export = Module; } declare module 'node:module' { import module = require('module'); export = module; }
Save
cmd:
run