Reputation:
I can import and use .js libraries in my .ts project without any problem
I do not use *.d.ts files anywhere
and I want to know how this is possible?
Upvotes: 1
Views: 65
Reputation: 7985
This is possible because the typeScript language is being translated to javaScript
Think of it as an extension of class
Obviate accuracy
TypeScript is a typed superset of JavaScript that compiles to plain JavaScript
Upvotes: 1