Using global external libraries without typings
suggest changeAlthough modules are ideal, if the library you are using is referenced by a global variable (like $ or _), because it was loaded by a script
tag, you can create an ambient declaration in order to refer to it:
declare const _: any;
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents