View ts
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