user16047155
user16047155

Reputation:

why my project do not need typescript definition files?

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

Answers (1)

Yoel
Yoel

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

Related Questions