Create a gist now

Instantly share code, notes, and snippets.

How to use @types
Make really sure that your IDE should support TypeScript 2.0 or >
Install definitly types using npm install --save @types/name
Import using ES import syntax into your project file
Thats it no need to reference files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment