I want to switch from JavaScript to TypeScript to help with code management as our project gets larger. We utilize, however, lots of libraries as amd Modules, which we do no
Create a file in lib called errorInfoHandler.d.ts. There, write:
lib
errorInfoHandler.d.ts
var noTypeInfoYet: any; // any var name here really export = noTypeInfoYet;
Now the alert import will succeed and be of type any.
alert
any