/
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/globals.d.ts
(9714B)
// Declare "static" methods in Error interface ErrorConstructor { /** Create .stack property on a target object */ captureStackTrace(targetObject: object, constructorOpt?: Function): void; /** * Optional override for formatting stack traces * * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces */ prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; stackTraceLimit: number; } /*-----------------------------------------------* * * * GLOBAL * * * ------------------------------------------------*/ // For backwards compability interface NodeRequire extends NodeJS.Require { } interface RequireResolve extends NodeJS.RequireResolve { } interface NodeModule extends NodeJS.Module { } declare var process: NodeJS.Process; declare var console: Console; declare var __filename: string; declare var __dirname: string; declare var require: NodeRequire; declare var module: NodeModule; // Same as module.exports declare var exports: any; /** * Only available if `--expose-gc` is passed to the process. */ declare var gc: undefined | (() => void); //#region borrowed // from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib /** A controller object that allows you to abort one or more DOM requests as and when desired. */ interface AbortController { /** * Returns the AbortSignal object associated with this object. */ readonly signal: AbortSignal; /** * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */ abort(reason?: any): void; } /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ interface AbortSignal extends EventTarget { /** * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */ readonly aborted: boolean; readonly reason: any; onabort: null | ((this: AbortSignal, event: Event) => any); throwIfAborted(): void; } declare var AbortController: typeof globalThis extends {onmessage: any; AbortController: infer T} ? T : { prototype: AbortController; new(): AbortController; }; declare var AbortSignal: typeof globalThis extends {onmessage: any; AbortSignal: infer T} ? T : { prototype: AbortSignal; new(): AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }; //#endregion borrowed //#region ArrayLike.at() interface RelativeIndexable<T> { /** * Takes an integer value and returns the item at that index, * allowing for positive and negative integers. * Negative integers count back from the last item in the array. */ at(index: number): T | undefined; } interface String extends RelativeIndexable<string> {} interface Array<T> extends RelativeIndexable<T> {} interface ReadonlyArray<T> extends RelativeIndexable<T> {} interface Int8Array extends RelativeIndexable<number> {} interface Uint8Array extends RelativeIndexable<number> {} interface Uint8ClampedArray extends RelativeIndexable<number> {} interface Int16Array extends RelativeIndexable<number> {} interface Uint16Array extends RelativeIndexable<number> {} interface Int32Array extends RelativeIndexable<number> {} interface Uint32Array extends RelativeIndexable<number> {} interface Float32Array extends RelativeIndexable<number> {} interface Float64Array extends RelativeIndexable<number> {} interface BigInt64Array extends RelativeIndexable<bigint> {} interface BigUint64Array extends RelativeIndexable<bigint> {} //#endregion ArrayLike.at() end /** * @since v17.0.0 * * Creates a deep clone of an object. */ declare function structuredClone<T>( value: T, transfer?: { transfer: ReadonlyArray<import('worker_threads').TransferListItem> }, ): T; /*----------------------------------------------* * * * GLOBAL INTERFACES * * * *-----------------------------------------------*/ declare namespace NodeJS { interface CallSite { /** * Value of "this" */ getThis(): unknown; /** * Type of "this" as a string. * This is the name of the function stored in the constructor field of * "this", if available. Otherwise the object's [[Class]] internal * property. */ getTypeName(): string | null; /** * Current function */ getFunction(): Function | undefined; /** * Name of the current function, typically its name property. * If a name property is not available an attempt will be made to try * to infer a name from the function's context. */ getFunctionName(): string | null; /** * Name of the property [of "this" or one of its prototypes] that holds * the current function */ getMethodName(): string | null; /** * Name of the script [if this function was defined in a script] */ getFileName(): string | undefined; /** * Current line number [if this function was defined in a script] */ getLineNumber(): number | null; /** * Current column number [if this function was defined in a script] */ getColumnNumber(): number | null; /** * A call site object representing the location where eval was called * [if this function was created using a call to eval] */ getEvalOrigin(): string | undefined; /** * Is this a toplevel invocation, that is, is "this" the global object? */ isToplevel(): boolean; /** * Does this call take place in code defined by a call to eval? */ isEval(): boolean; /** * Is this call in native V8 code? */ isNative(): boolean; /** * Is this a constructor call? */ isConstructor(): boolean; } interface ErrnoException extends Error { errno?: number | undefined; code?: string | undefined; path?: string | undefined; syscall?: string | undefined; } interface ReadableStream extends EventEmitter { readable: boolean; read(size?: number): string | Buffer; setEncoding(encoding: BufferEncoding): this; pause(): this; resume(): this; isPaused(): boolean; pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T; unpipe(destination?: WritableStream): this; unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; wrap(oldStream: ReadableStream): this; [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>; } interface WritableStream extends EventEmitter { writable: boolean; write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; end(cb?: () => void): this; end(data: string | Uint8Array, cb?: () => void): this; end(str: string, encoding?: BufferEncoding, cb?: () => void): this; } interface ReadWriteStream extends ReadableStream, WritableStream { } interface RefCounted { ref(): this; unref(): this; } type TypedArray = | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | BigUint64Array | BigInt64Array | Float32Array | Float64Array; type ArrayBufferView = TypedArray | DataView; interface Require { (id: string): any; resolve: RequireResolve; cache: Dict<NodeModule>; /** * @deprecated */ extensions: RequireExtensions; main: Module | undefined; } interface RequireResolve { (id: string, options?: { paths?: string[] | undefined; }): string; paths(request: string): string[] | null; } interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { '.js': (m: Module, filename: string) => any; '.json': (m: Module, filename: string) => any; '.node': (m: Module, filename: string) => any; } interface Module { /** * `true` if the module is running during the Node.js preload */ isPreloading: boolean; exports: any; require: Require; id: string; filename: string; loaded: boolean; /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ parent: Module | null | undefined; children: Module[]; /** * @since v11.14.0 * * The directory name of the module. This is usually the same as the path.dirname() of the module.id. */ path: string; paths: string[]; } interface Dict<T> { [key: string]: T | undefined; } interface ReadOnlyDict<T> { readonly [key: string]: T | undefined; } }
Save
cmd:
run