We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d082665 commit e6746f3Copy full SHA for e6746f3
src/node/types.ts
@@ -23,7 +23,7 @@ export type NodeReaddirOptions =
23
export type NodeFS = {
24
[K in keyof typeof fs]: (typeof fs)[K] extends (...args: any[]) => any
25
? // Some kind of wizardry: by using a union with a regular function, overloads are preserved but the properties disappear.
26
- (typeof fs)[K] | ((...args: any[]) => any)
+ (typeof fs)[K] | ((...args: any[]) => any)
27
: (typeof fs)[K] extends object
28
? Omit<(typeof fs)[K], '__promisify__' | 'native'>
29
: (typeof fs)[K];
0 commit comments