You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe/explain the bug
After the update to version 0.69 from version 0.68 the axisBottom (axis in general) definitions are no longer valid as per typescript.
Describe/explain the bug
After the update to version 0.69 from version 0.68 the axisBottom (axis in general) definitions are no longer valid as per typescript.
Before update you could have:
Which is exact definition as generated by https://nivo.rocks/bar/
But after update it "wants" additional values:
Could be related too f11d034 but frankly, I have no idea... https://github.com/plouc/nivo/blame/master/packages/axes/src/types.ts
To Reproduce
See the warnings in this code sample https://codesandbox.io/s/react-typescript-playground-forked-342ti?file=/src/index.tsx (wait for linter/typescript to load)
Expected behavior
The extra values are not necessary for defying the axisLeft/Right/Bottom etc
Versions
Looks like 0.68 is OK, and issue is reproducible only with 0.69
Tested locally with:
PS: Thank you very much for keeping the project alive and releasing new versions!!
The text was updated successfully, but these errors were encountered: