How to load (.d.ts) file in your Angular 2 project?
If you are using Angular 2, that time you are using some dependencies like zone. If we adding to “zone” in the apps i.e.
import “angular2-zone.js/dist-v2/zone”;
Noted Point : - You don't change the extension of this file and Just you add the reference of your custom definition inside this file using the triple slash notation i.e.
/// <reference path="./your-custom-file-typing.d.ts">
I hope you are enjoying with this post! Please share with you friends.
Thank you!!