mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Recharts does not modify them internally and having 'readonly' modifier allows both readonly and non-readonly arrays to be passed through |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| README.MD | ||
| recharts-tests.tsx | ||
| tsconfig.json | ||
| tslint.json | ||
Typings for Recharts, a composable charting library built on React components
The Recharts website has comprehensive API documentation which is generated from JavaScript files. Those files are used as input to generate these typings.
How to run tests
As of 1.6.2018.
- Install typescript globally:
npm i -g typescript - Install React's dependencies:
cd ../react && npm i - Run tests:
cd ../recharts && tsc