1

I tried installing Tradingview's 'lightweight-charts' for react typescript but I can't seem to download the @types for this package because it does not show up on package.json. Therefore, unable to render my react app.

I have tried installing with npm and yarn but they both don't work

Can anyone please help me?

Where can I download the types for this package so it works? The npm repository says that it supports typescript.

thanks in advance!

tomi lui
  • 19
  • 9

1 Answers1

0

As part of our package, we generate and provide types that can be found here (for instance).

In theory you shouldn't have to do anything to start working with Typescript as it should work out of the box

Dharman
  • 30,962
  • 25
  • 85
  • 135
Romain Francois
  • 217
  • 1
  • 3