Where can I find the Typescript definition files for Dropbox v2 api and how do I load them into VS Code? I tried several times and cannot seem to figure it out. Most other libraries don't have any problems.
Asked
Active
Viewed 643 times
0
-
1I have the same issue, I put the dropbox (^2.5.4) into my dependencies, run npm install, and the VS Code cant recognize typings. – eliocapelati Jul 01 '17 at 00:17
1 Answers
0
The typings are included with the Dropbox V2 library when you npm install
the library.
You can tell by looking at the source code for the library, specifically at its package.json. If the package.json includes a key called typings
, that means the TypeScript types are bundled with the source code, and will be installed along with the code when you npm install
the library.
If the typings don't work for you in VSCode, there is some other issue - how are you installing the Dropbox library?

bcherny
- 3,072
- 2
- 27
- 35