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.