Skip to content

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

Replace instanceof checks to work across color.js sources

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

Triggered via pull request October 28, 2024 15:27
Status Success
Total duration 44s
Artifacts

lint.yml

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

Annotations

10 errors
Lint & Test Types: src/Format.js#L150
Argument of type 'Format | Format' is not assignable to parameter of type 'Format'.
Lint & Test Types: src/Type.js#L126
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'.