Support TypeScriptSee original GitHub issue
It seems that the library doesn’t have the Typescript types defined. I tried to do npm i @types/britecharts-react but the module doesn’t exist.
react-scripts-ts to create my react test project.
Below the TypeScript error I get from the compiler when I import the library:
Could not find a declaration file for module ‘britecharts-react’. ‘test-app/node_modules/britecharts-react/dist/britecharts-react.min.js’ implicitly has an ‘any’ type.
npm install @types/britecharts-react if it exists or add a new declaration (.d.ts) file containing
declare module 'britecharts-react';
- Created 5 years ago
- Comments:16 (1 by maintainers)
Top GitHub Comments
Hi @miglesiasEB sorry for the radio silence but I got some issues to continue working on the PR. Now I have sorted out everything and I have restarted. Is there a way I can get an invite to join your slack channel so I can ask you a couple of questions I have?
@dupski Thank you for the offer I will definitely take it! 😃 I will send you a preliminary PR for you to review because I am not much familiar with most of the chart and probably I will not have time to check all of them once I am done with the TS definitions.