Skip to content

fix: types

fix: types #322

Triggered via pull request March 6, 2024 14:20
Status Failure
Total duration 2m 40s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
lint: lib/SyncAsyncFileSystemDecorator.js#L31
Expected 2 arguments, but got 1.
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'.
lint: lib/SyncAsyncFileSystemDecorator.js#L48
This condition will always return true since this function is always defined. Did you mean to call it instead?
lint: lib/SyncAsyncFileSystemDecorator.js#L50
Expected 2 arguments, but got 1.
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'.
lint: lib/SyncAsyncFileSystemDecorator.js#L65
This condition will always return true since this function is always defined. Did you mean to call it instead?
lint: lib/SyncAsyncFileSystemDecorator.js#L66
No overload matches this call.
lint: lib/SyncAsyncFileSystemDecorator.js#L69
Expected 2 arguments, but got 1.
lint: lib/SyncAsyncFileSystemDecorator.js#L72
Argument of type 'string[]' is not assignable to parameter of type 'string[] & Buffer[] & Dirent[]'.
lint: lib/SyncAsyncFileSystemDecorator.js#L77
No overload matches this call.
test (ubuntu-latest, 16.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (ubuntu-latest, 18.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (ubuntu-latest, 20.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (ubuntu-latest, 12.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (ubuntu-latest, 14.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (ubuntu-latest, 21.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (macos-latest, 16.x)
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (ubuntu-latest, 10.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (macos-latest, 14.x)
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (macos-latest, 10.x)
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (macos-latest, 12.x)
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (macos-latest, 18.x)
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (macos-latest, 20.x)
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
test (macos-latest, 21.x)
Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1