Angular 2

Do we only need type definition files not “node_modules”?

Do we only need type definition files not “node_modules”?

A Type definition files provide better experience when using “JS libraries” with auto completion and type checking but are ignored otherwise.

If we install and import TypeScript libraries and they will be compiled to “JS” and it’s included in the “JS” build output.


I hope you are enjoying with this post! Please share with you friends. Thank you!!
ANIL SINGH

Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..

My Tech Blog - https://www.code-sample.com/
My Books - Book 1 and Book 2

www.code-sample.com/. Powered by Blogger.
^