Depending on your project setup, there are several ways to obtain and integrate the jQuery type definitions.
If you are not using a package manager, you can manually download the file from the DefinitelyTyped GitHub repository . TypeScript and libraries such as jQuery (with .d.ts files) jquery.d.ts file download
The TypeScript compiler automatically finds these definitions in node_modules/@types , so no manual referencing is required. 2. Manual Download (Legacy or Simple Projects) Depending on your project setup, there are several