fix: types #322
Annotations
10 errors
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L31
Expected 2 arguments, but got 1.
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L34
Argument of type 'IBigIntStats | IStats | undefined' is not assignable to parameter of type '(IStats & IStatsBase<bigint> & { atimeNs: bigint; mtimeNs: bigint; ctimeNs: bigint; birthtimeNs: bigint; }) | undefined'.
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L48
This condition will always return true since this function is always defined. Did you mean to call it instead?
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L50
Expected 2 arguments, but got 1.
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L52
Argument of type 'IBigIntStats | IStats | undefined' is not assignable to parameter of type '(IStats & IStatsBase<bigint> & { atimeNs: bigint; mtimeNs: bigint; ctimeNs: bigint; birthtimeNs: bigint; }) | undefined'.
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L65
This condition will always return true since this function is always defined. Did you mean to call it instead?
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L66
No overload matches this call.
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L69
Expected 2 arguments, but got 1.
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L72
Argument of type 'string[]' is not assignable to parameter of type 'string[] & Buffer[] & Dirent[]'.
|
Run yarn lint:
lib/SyncAsyncFileSystemDecorator.js#L77
No overload matches this call.
|
Loading