@uppy/core: migrate to TS #5964
ci.yml
on: pull_request
Type tests
1m 6s
Matrix: Unit tests
Annotations
10 errors
Type tests:
packages/@uppy/core/src/Restricter.ts#L186
Generic type 'RestrictionError<M, B>' requires 2 type argument(s).
|
Type tests:
packages/@uppy/core/src/UIPlugin.ts#L28
Unused '@ts-expect-error' directive.
|
Type tests:
packages/@uppy/core/src/Uppy.ts#L358
Expected 3 arguments, but got 4.
|
Type tests:
packages/@uppy/core/src/Uppy.ts#L682
Argument of type '{ message: string; isUserFacing?: boolean | undefined; details?: string | undefined; isRestriction?: boolean | undefined; file?: UppyFile<M, B> | undefined; }' is not assignable to parameter of type 'Error'.
|
Type tests:
packages/@uppy/core/src/Uppy.ts#L684
Expected 4 arguments, but got 2.
|
Type tests:
packages/@uppy/core/src/Uppy.ts#L1092
Argument of type 'string | undefined' is not assignable to parameter of type 'FileRemoveReason'.
|
Type tests:
packages/@uppy/core/src/Uppy.ts#L1141
Expected 2 arguments, but got 1.
|
Type tests:
packages/@uppy/core/src/Uppy.ts#L1163
Expected 2 arguments, but got 1.
|
Type tests:
packages/@uppy/core/src/Uppy.ts#L1201
Expected 1 arguments, but got 2.
|
Type tests:
packages/@uppy/core/src/Uppy.ts#L1580
Argument of type '"is-offline"' is not assignable to parameter of type 'keyof UppyEventMap<M, B>'.
|