fix(marimekko): use readonly arrays for props as the library does not modify them #2280
ci.yml
on: pull_request
build
1m 19s
end-to-end-tests
1m 26s
Annotations
8 errors
build:
packages/marimekko/src/hooks.ts#L234
Property 'push' does not exist on type 'readonly DimensionDatum<RawDatum>[]'.
|
build:
packages/marimekko/src/Marimekko.tsx#L115
Type 'readonly number[] | undefined' is not assignable to type 'TicksSpec<ScaleValue> | undefined'.
|
build:
packages/marimekko/src/Marimekko.tsx#L116
Type 'readonly number[] | undefined' is not assignable to type 'TicksSpec<ScaleValue> | undefined'.
|
build
Process completed with exit code 2.
|
end-to-end-tests:
packages/marimekko/src/hooks.ts#L234
Property 'push' does not exist on type 'readonly DimensionDatum<RawDatum>[]'.
|
end-to-end-tests:
packages/marimekko/src/Marimekko.tsx#L115
Type 'readonly number[] | undefined' is not assignable to type 'TicksSpec<ScaleValue> | undefined'.
|
end-to-end-tests:
packages/marimekko/src/Marimekko.tsx#L116
Type 'readonly number[] | undefined' is not assignable to type 'TicksSpec<ScaleValue> | undefined'.
|
end-to-end-tests
Process completed with exit code 2.
|