I'm trying to add jQuery to a TypeScript project in Visual Studio Code. The goal is to use it via the $, as I would do in plain JavaScript, WITHOUT providing the jQuery tag in the head of my html.
I have my jquery and its definition installed on the project:
Hence, $ and intellisense is working like a charm:
But opening the page I'm getting the error: "ReferenceError: $ is not defined".
I have read several related topics, including this, but the question there is about Visual Studio, and the last answer also suggest to load jQuery via tag in html, what I'm trying to avoid.
So how do I tell the ts compiler to include jQuery? I cannot import it because there is no export in jQuery. Am I missing something from tsconfig.json?