Skip to content

Replace instanceof checks to work across color.js sources #533

Replace instanceof checks to work across color.js sources

Replace instanceof checks to work across color.js sources #533

Triggered via pull request November 3, 2024 11:37
Status Success
Total duration 40s
Artifacts

lint.yml

on: pull_request
Lint & Test Types
32s
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#L27
This overload signature is not compatible with its implementation signature.
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'.
Lint & Test Types: src/parse.js#L95
Property 'alphaType' does not exist on type 'ArgumentMeta'.
Lint & Test Types: src/parse.js#L124
Type 'import("/home/runner/work/color.js/color.js/src/Format").default' is not assignable to type 'import("/home/runner/work/color.js/color.js/src/ColorSpace").Format'.
Lint & Test Types: src/serialize.js#L35
Property 'parseMeta' does not exist on type 'ColorObject | PlainColorObject'.
Lint & Test Types: src/serialize.js#L36
Property 'parseMeta' does not exist on type 'ColorObject | PlainColorObject'.
Lint & Test Types: src/serialize.js#L37
Property 'parseMeta' does not exist on type 'ColorObject | PlainColorObject'.
Lint & Test Types: src/serialize.js#L38
Property 'parseMeta' does not exist on type 'ColorObject | PlainColorObject'.