fix(pie): use readonly arrays for props as the library does not modif… #2258
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yml
on: pull_request
build
56s
end-to-end-tests
1m 1s
Annotations
12 errors
build:
packages/pie/src/Pie.tsx#L90
The type 'readonly RawDatum[]' is 'readonly' and cannot be assigned to the mutable type 'RawDatum[]'.
|
build:
packages/pie/src/PieCanvas.tsx#L83
The type 'readonly RawDatum[]' is 'readonly' and cannot be assigned to the mutable type 'RawDatum[]'.
|
build:
packages/static/src/mappings/pie.ts#L3
Cannot find module '@nivo/pie' or its corresponding type declarations.
|
build:
packages/express/src/memory-storage.ts#L1
Cannot find module '@nivo/static' or its corresponding type declarations.
|
build:
packages/express/src/index.ts#L4
Cannot find module '@nivo/static' or its corresponding type declarations.
|
build
Process completed with exit code 2.
|
end-to-end-tests:
packages/pie/src/Pie.tsx#L90
The type 'readonly RawDatum[]' is 'readonly' and cannot be assigned to the mutable type 'RawDatum[]'.
|
end-to-end-tests:
packages/pie/src/PieCanvas.tsx#L83
The type 'readonly RawDatum[]' is 'readonly' and cannot be assigned to the mutable type 'RawDatum[]'.
|
end-to-end-tests:
packages/static/src/mappings/pie.ts#L3
Cannot find module '@nivo/pie' or its corresponding type declarations.
|
end-to-end-tests:
packages/express/src/memory-storage.ts#L1
Cannot find module '@nivo/static' or its corresponding type declarations.
|
end-to-end-tests:
packages/express/src/index.ts#L4
Cannot find module '@nivo/static' or its corresponding type declarations.
|
end-to-end-tests
Process completed with exit code 2.
|