Skip to content

Commit d68ab36

Browse files
authored
fix: node types (#1195)
1 parent 85d38da commit d68ab36

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"@types/connect": "^3.4.35",
6363
"@types/express": "^4.17.13",
6464
"@types/mime-types": "^2.1.1",
65+
"@types/node": "^12.20.43",
6566
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
6667
"babel-jest": "^27.4.6",
6768
"chokidar": "^3.5.1",

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ type Watching = Compiler["watching"];
201201
type MultiWatching = ReturnType<Compiler["watch"]>;
202202
type OutputFileSystem = Compiler["outputFileSystem"] & {
203203
createReadStream?: typeof import("fs").createReadStream;
204-
statSync?: import("fs").StatSyncFn;
204+
statSync?: typeof import("fs").statSync;
205205
lstat?: typeof import("fs").lstat;
206206
readFileSync?: typeof import("fs").readFileSync;
207207
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy