Skip to content

feat: Improve color scheme type #6660

feat: Improve color scheme type

feat: Improve color scheme type #6660

Triggered via pull request July 18, 2023 21:39
Status Failure
Total duration 1m 37s
Artifacts

test.yml

on: pull_request
Node
1m 29s
Node
Runtime, Linting, and Coverage
1m 6s
Runtime, Linting, and Coverage
Matrix: CLI
Fit to window
Zoom out
Zoom in

Annotations

13 errors
CLI (ubuntu-latest): src/scale.ts#L733
Property 'domainRaw' is missing in type '{ type: 1; domain: 1; domainMax: 1; domainMin: 1; domainMid: 1; align: 1; range: 1; rangeMax: 1; rangeMin: 1; scheme: 1; bins: 1; reverse: 1; round: 1; clamp: 1; nice: 1; base: 1; exponent: 1; constant: 1; interpolate: 1; zero: 1; padding: 1; paddingInner: 1; paddingOuter: 1; }' but required in type 'Flag<keyof Scale<any>>'.
CLI (ubuntu-latest): src/scale.ts#L770
Not all code paths return a value.
CLI (ubuntu-latest): src/scale.ts#L826
Not all code paths return a value.
CLI (ubuntu-latest)
Process completed with exit code 2.
CLI (windows-latest)
The job was canceled because "ubuntu-latest" failed.
CLI (windows-latest)
The operation was canceled.
CLI (macos-latest)
The job was canceled because "ubuntu-latest" failed.
CLI (macos-latest)
The operation was canceled.
Runtime, Linting, and Coverage: src/scale.ts#L733
Property 'domainRaw' is missing in type '{ type: 1; domain: 1; domainMax: 1; domainMin: 1; domainMid: 1; align: 1; range: 1; rangeMax: 1; rangeMin: 1; scheme: 1; bins: 1; reverse: 1; round: 1; clamp: 1; nice: 1; base: 1; exponent: 1; constant: 1; interpolate: 1; zero: 1; padding: 1; paddingInner: 1; paddingOuter: 1; }' but required in type 'Flag<keyof Scale<any>>'.
Runtime, Linting, and Coverage: src/scale.ts#L770
Not all code paths return a value.
Runtime, Linting, and Coverage: src/scale.ts#L826
Not all code paths return a value.
Runtime, Linting, and Coverage
Process completed with exit code 2.
Node
Process completed with exit code 1.