How to use jQuery with TypeScript
Most likely you need to download and include the TypeScript declaration file for jQuery—jquery.d.ts—in your project. Option 1: Install the @types package (Recommended for TS 2.0+) In the same folder as your package.json file, run the following command: npm install –save-dev @types/jquery Then the compiler will resolve the definitions for jquery automatically. Option 2: Download … Read more