Skip to content

Bar scales

Bar scales #2816

Triggered via pull request May 23, 2025 22:40
Status Failure
Total duration 2m 23s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Tests: packages/bar/src/BarCanvas.tsx#L317
Type '{ index: number; key: string; data: ComputedDatum<D, string> & { value: number; }; x: number; y: number; absX: number; absY: number; width: number; height: number; color: string; label: string; }' is not assignable to type 'ComputedBarDatum<D, I> & { data: { value: number; }; }'.
Tests: packages/bar/src/BarCanvas.tsx#L202
Type '{ borderRadius: number; borderWidth: number; isInteractive: boolean; isFocusable: false; labelSkipWidth: number; labelSkipHeight: number; margin: Margin; width: number; height: number; ... 12 more ...; getColor: OrdinalColorScale<...>; }' is not assignable to type 'BarCanvasCustomLayerProps<D, string>'.
Tests: packages/bar/src/BarCanvas.tsx#L188
Type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D>>[]'.
Tests: packages/bar/src/BarCanvas.tsx#L116
Type 'readonly AnnotationMatcher<ComputedBarDatum<BarDatum, string>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]'.
Tests: packages/bar/src/Bar.tsx#L391
Type 'ComputedBarDatum<D>[]' is not assignable to type 'readonly ComputedBarDatum<D, I>[]'.
Tests: packages/bar/src/Bar.tsx#L326
Argument of type 'ComputedDatum<D, string> & { value: number; }' is not assignable to parameter of type 'ComputedDatum<D, I>'.
Tests: packages/bar/src/Bar.tsx#L323
No overload matches this call.
Tests: packages/bar/src/Bar.tsx#L297
Type 'ComputedBarDatum<D>[]' is not assignable to type 'readonly ComputedBarDatum<D, I>[]'.
Tests: packages/bar/src/Bar.tsx#L76
Type 'readonly AnnotationMatcher<ComputedBarDatum<BarDatum, string>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]'.
Tests: packages/bar/src/Bar.tsx#L72
Type 'readonly { id: string; match: Record<string, unknown> | "*" | SvgFillMatcher<ComputedBarDatum<BarDatum, string>>; }[] | undefined' is not assignable to type 'readonly { id: string; match: Record<string, unknown> | "*" | SvgFillMatcher<ComputedBarDatum<D, I>>; }[] | undefined'.
Storybook Tests: packages/bar/src/BarCanvas.tsx#L317
Type '{ index: number; key: string; data: ComputedDatum<D, string> & { value: number; }; x: number; y: number; absX: number; absY: number; width: number; height: number; color: string; label: string; }' is not assignable to type 'ComputedBarDatum<D, I> & { data: { value: number; }; }'.
Storybook Tests: packages/bar/src/BarCanvas.tsx#L202
Type '{ borderRadius: number; borderWidth: number; isInteractive: boolean; isFocusable: false; labelSkipWidth: number; labelSkipHeight: number; margin: Margin; width: number; height: number; ... 12 more ...; getColor: OrdinalColorScale<...>; }' is not assignable to type 'BarCanvasCustomLayerProps<D, string>'.
Storybook Tests: packages/bar/src/BarCanvas.tsx#L188
Type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D>>[]'.
Storybook Tests: packages/bar/src/BarCanvas.tsx#L116
Type 'readonly AnnotationMatcher<ComputedBarDatum<BarDatum, string>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]'.
Storybook Tests: packages/bar/src/Bar.tsx#L391
Type 'ComputedBarDatum<D>[]' is not assignable to type 'readonly ComputedBarDatum<D, I>[]'.
Storybook Tests: packages/bar/src/Bar.tsx#L326
Argument of type 'ComputedDatum<D, string> & { value: number; }' is not assignable to parameter of type 'ComputedDatum<D, I>'.
Storybook Tests: packages/bar/src/Bar.tsx#L323
No overload matches this call.
Storybook Tests: packages/bar/src/Bar.tsx#L297
Type 'ComputedBarDatum<D>[]' is not assignable to type 'readonly ComputedBarDatum<D, I>[]'.
Storybook Tests: packages/bar/src/Bar.tsx#L76
Type 'readonly AnnotationMatcher<ComputedBarDatum<BarDatum, string>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]'.
Storybook Tests: packages/bar/src/Bar.tsx#L72
Type 'readonly { id: string; match: Record<string, unknown> | "*" | SvgFillMatcher<ComputedBarDatum<BarDatum, string>>; }[] | undefined' is not assignable to type 'readonly { id: string; match: Record<string, unknown> | "*" | SvgFillMatcher<ComputedBarDatum<D, I>>; }[] | undefined'.
End-to-End Tests: packages/bar/src/BarCanvas.tsx#L317
Type '{ index: number; key: string; data: ComputedDatum<D, string> & { value: number; }; x: number; y: number; absX: number; absY: number; width: number; height: number; color: string; label: string; }' is not assignable to type 'ComputedBarDatum<D, I> & { data: { value: number; }; }'.
End-to-End Tests: packages/bar/src/BarCanvas.tsx#L202
Type '{ borderRadius: number; borderWidth: number; isInteractive: boolean; isFocusable: false; labelSkipWidth: number; labelSkipHeight: number; margin: Margin; width: number; height: number; ... 12 more ...; getColor: OrdinalColorScale<...>; }' is not assignable to type 'BarCanvasCustomLayerProps<D, string>'.
End-to-End Tests: packages/bar/src/BarCanvas.tsx#L188
Type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D>>[]'.
End-to-End Tests: packages/bar/src/BarCanvas.tsx#L116
Type 'readonly AnnotationMatcher<ComputedBarDatum<BarDatum, string>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]'.
End-to-End Tests: packages/bar/src/Bar.tsx#L391
Type 'ComputedBarDatum<D>[]' is not assignable to type 'readonly ComputedBarDatum<D, I>[]'.
End-to-End Tests: packages/bar/src/Bar.tsx#L326
Argument of type 'ComputedDatum<D, string> & { value: number; }' is not assignable to parameter of type 'ComputedDatum<D, I>'.
End-to-End Tests: packages/bar/src/Bar.tsx#L323
No overload matches this call.
End-to-End Tests: packages/bar/src/Bar.tsx#L297
Type 'ComputedBarDatum<D>[]' is not assignable to type 'readonly ComputedBarDatum<D, I>[]'.
End-to-End Tests: packages/bar/src/Bar.tsx#L76
Type 'readonly AnnotationMatcher<ComputedBarDatum<BarDatum, string>>[]' is not assignable to type 'readonly AnnotationMatcher<ComputedBarDatum<D, I>>[]'.
End-to-End Tests: packages/bar/src/Bar.tsx#L72
Type 'readonly { id: string; match: Record<string, unknown> | "*" | SvgFillMatcher<ComputedBarDatum<BarDatum, string>>; }[] | undefined' is not assignable to type 'readonly { id: string; match: Record<string, unknown> | "*" | SvgFillMatcher<ComputedBarDatum<D, I>>; }[] | undefined'.