question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support TypeScript

See 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.

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:closed
  • Created 5 years ago
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
FrankBrullocommented, Dec 4, 2018

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.

1reaction
miglesiasEBcommented, Dec 4, 2018

Hi @FrankBrullo, the handlers are ready and the release pipeline is working again!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found