[types] Fix type errors in codebase #458
Annotations
10 errors
Lint & Test Types:
src/Type.js#L124
A spread argument must either have a tuple type or be passed to a rest parameter.
|
Lint & Test Types:
src/interpolation.js#L26
This overload signature is not compatible with its implementation signature.
|
Lint & Test Types:
src/interpolation.js#L196
Argument of type 'any[]' is not assignable to parameter of type 'Ref'.
|
Lint & Test Types:
src/interpolation.js#L196
Argument of type 'any[]' is not assignable to parameter of type 'Ref'.
|
Lint & Test Types:
src/interpolation.js#L207
Argument of type 'any[]' is not assignable to parameter of type 'Ref'.
|
Lint & Test Types:
src/interpolation.js#L208
Argument of type 'any[]' is not assignable to parameter of type 'Ref'.
|
Lint & Test Types:
src/multiply-matrices.js#L20
Property 'length' does not exist on type 'number | number[]'.
|
Lint & Test Types:
src/multiply-matrices.js#L21
Property 'map' does not exist on type 'number | number[]'.
|
Lint & Test Types:
src/parse.js#L49
Property 'findFormat' does not exist on type 'typeof ColorSpace'.
|
Lint & Test Types:
src/parse.js#L81
Property 'findFormat' does not exist on type 'typeof ColorSpace'.
|