TypeScript already supports these and all other JavaScript libraries. Any JavaScript code is valid TypeScript code.
Obviously, to view any of the benefits of TypeScript for these libraries, you need to add type annotations, this can be done unobtrusively by creating source files (files with the extension .d.ts ). These are basically header files that describe type information associated with existing JavaScript code.
Obviously, outside the TypeScript project, these source declaration files are created for each popular JavaScript library. These projects and the community can contribute to this.
You can view a sample source declaration file for jQuery , which is included in TypeScript samples.
joshuapoehls
source share