@types/node 12.12.4 → 12.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node/README.md +1 -1
- node/fs.d.ts +2 -2
- node/package.json +2 -2
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated: Fri, 01 Nov 2019
|
|
11
|
+
* Last updated: Fri, 01 Nov 2019 17:49:22 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node/fs.d.ts
CHANGED
|
@@ -1932,7 +1932,7 @@ declare module "fs" {
|
|
|
1932
1932
|
encoding?: BufferEncoding;
|
|
1933
1933
|
}
|
|
1934
1934
|
|
|
1935
|
-
function opendirSync(path: string, options?: OpenDirOptions):
|
|
1935
|
+
function opendirSync(path: string, options?: OpenDirOptions): Dir;
|
|
1936
1936
|
|
|
1937
1937
|
function opendir(path: string, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
1938
1938
|
function opendir(path: string, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
@@ -2441,6 +2441,6 @@ declare module "fs" {
|
|
|
2441
2441
|
*/
|
|
2442
2442
|
function readFile(path: PathLike | FileHandle, options?: { encoding?: string | null, flag?: string | number } | string | null): Promise<string | Buffer>;
|
|
2443
2443
|
|
|
2444
|
-
function opendir(path: string, options?: OpenDirOptions): Promise<
|
|
2444
|
+
function opendir(path: string, options?: OpenDirOptions): Promise<Dir>;
|
|
2445
2445
|
}
|
|
2446
2446
|
}
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.12.
|
|
3
|
+
"version": "12.12.5",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -216,6 +216,6 @@
|
|
|
216
216
|
},
|
|
217
217
|
"scripts": {},
|
|
218
218
|
"dependencies": {},
|
|
219
|
-
"typesPublisherContentHash": "
|
|
219
|
+
"typesPublisherContentHash": "46049f579879eaae5127addb8436cb2eb8a49f49e49d13e015dd23a5089458b1",
|
|
220
220
|
"typeScriptVersion": "2.0"
|
|
221
221
|
}
|