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!

4

1 回答 1

0

作为我们包的一部分,我们生成并提供可以在此处找到的类型(例如)。

从理论上讲,您不必做任何事情就可以开始使用 Typescript,因为它应该可以开箱即用

于 2021-09-03T08:59:33.607 回答