Skip to content

Instantly share code, notes, and snippets.

@blackhawk389
Created December 7, 2016 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blackhawk389/23d7fea25a3da7c515adee83a56241cd to your computer and use it in GitHub Desktop.
Save blackhawk389/23d7fea25a3da7c515adee83a56241cd to your computer and use it in GitHub Desktop.
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