Support TypeScript
See original GitHub issueIt 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.
I used 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.
Try npm install @types/britecharts-react
if it exists or add a new declaration (.d.ts) file containing declare module 'britecharts-react';
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
TypeScript: JavaScript With Syntax For Types.
TypeScript extends JavaScript by adding types to the language. ... TypeScript adds additional syntax to JavaScript to support a tighter integration with ...
Read more >TypeScript Programming with Visual Studio Code
Visual Studio Code includes TypeScript language support but does not include the TypeScript compiler, tsc . You will need to install the TypeScript...
Read more >TypeScript | WebStorm Documentation - JetBrains
WebStorm supports developing, running, and debugging TypeScript source code. WebStorm recognizes .ts and .tsx files and provides full range ...
Read more >TypeScript support in Svelte - Learn web development
TypeScript support in Svelte · Code along with us · TypeScript: optional static typing for JavaScript · Why TypeScript? · Creating a Svelte ......
Read more >TypeScript Support - Docusaurus
Docusaurus supports writing and using TypeScript theme components. If the init template provides a TypeScript variant, you can directly ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
Hi @FrankBrullo, the handlers are ready and the release pipeline is working again!