Skip to content

fix(pie): use readonly arrays for props as the library does not modif… #2258

fix(pie): use readonly arrays for props as the library does not modif…

fix(pie): use readonly arrays for props as the library does not modif… #2258

Triggered via pull request November 14, 2023 07:50
Status Failure
Total duration 1m 9s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.