-
Notifications
You must be signed in to change notification settings - Fork 0
/
node.d.ts
64 lines (63 loc) · 1.91 KB
/
node.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import * as _util from 'util';
import * as _buffer from 'buffer';
import * as _cp from 'child_process';
import * as _os from 'os';
import * as _v8 from 'v8';
import * as _vm from 'vm';
import * as _path from 'path';
import * as _url from 'url';
import * as _sd from 'string_decoder';
import * as _qs from 'querystring';
import * as _querystring from 'querystring';
import * as _assert from 'assert';
import * as _stream from 'stream';
import * as _fs from 'fs';
import * as _crypto from 'crypto';
import * as _zlib from 'zlib';
import * as _readline from 'readline';
import * as _ph from 'perf_hooks';
import * as _ah from 'async_hooks';
import * as _timers from 'timers';
import * as _events from 'events';
import * as _dns from 'dns';
import * as _net from 'net';
import * as _tls from 'tls';
import * as _http from 'http';
import * as _https from 'https';
import * as _http2 from 'http2';
import * as _dgram from 'dgram';
declare global {
namespace node {
const util: typeof _util;
const buffer: typeof _buffer;
const child_process: typeof _cp;
const childProcess: typeof _cp;
const os: typeof _os;
const v8: typeof _v8;
const vm: typeof _vm;
const path: typeof _path;
const url: typeof _url;
const StringDecoder: typeof _sd;
const querystring: typeof _qs;
const assert: typeof _assert;
const stream: typeof _stream;
const fs: typeof _fs;
const fsp: typeof _fs.promises;
const crypto: typeof _crypto;
const zlib: typeof _zlib;
const readline: typeof _readline;
const perf_hooks: typeof _ph;
const perfHooks: typeof _ph;
const async_hooks: typeof _ah;
const asyncHooks: typeof _ah;
const timers: typeof _timers;
const events: typeof _events;
const dns: typeof _dns;
const net: typeof _net;
const tls: typeof _tls;
const http: typeof _http;
const https: typeof _https;
const http2: typeof _http2;
const dgram: typeof _dgram;
}
}