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!!