Skip to content

[types] Fix type errors in codebase #458

[types] Fix type errors in codebase

[types] Fix type errors in codebase #458

Triggered via pull request July 10, 2024 23:46
Status Success
Total duration 46s
Artifacts

lint.yml

on: pull_request
Lint & Test Types
36s
Lint & Test Types
Fit to window
Zoom out
Zoom in

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'.