Angular 2

Why type definition with TypeScript in Angular 2?

Why type definition (.d.ts) with Typescript in Angular2?

A TypeScript definition file contains the type information for written in JavaScript code and the “JavaScript” does not contain type information itself, so “TypeScript” cannot retrieve that information. To solve this problem, we will use the type definition with TypeScript.

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

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 -
My Books - Book 1 and Book 2 Powered by Blogger.