Declare an any global

suggest change

It is sometimes easiest to just declare a global of type any, especially in simple projects.

If jQuery didn’t have type declarations (it does), you could put

declare var $: any;

Now any use of $ will be typed any.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents