News for hackers. Stuff that matters.
Re:Announcing TypeScript 1.8 Beta by DCoder on Friday January 29, 2016 @01:46AM (#10993879)
A better way would be to do like Arnavion said, for really global libraries you should create a .d.ts file and put this line in it:

    declare var somelib: any;
Done. Now the compiler and everything else will know that there's a global variable called `somelib` that does not have a specific type, and no matter how you use that variable, it's ok, you know what you're doing.

There are no comments on this comment yet.