TypeScript Support for EmberJS, AngularJS or BatmanJS TypeScript Support for EmberJS, AngularJS or BatmanJS angularjs angularjs

TypeScript Support for EmberJS, AngularJS or BatmanJS


TypeScript already supports these and every other JavaScript library. Any JavaScript code is valid TypeScript code.

Obviously to see any benefits from TypeScript these libraries would need to add type annotations, this can be done unobtrusively by creating Declaration Source Files (files with a .d.ts extension). These are basically header files that describe the type information associated with existing JavaScript code.

It is obviously outside the scope of the TypeScript project to create these Declaration Source Files for every popular JavaScript library. It is up to those projects and the community to contribute this.

You can view a sample Declaration Source File for jQuery that is included in the TypeScript samples.


DefinitelyTyped has already covered most (if not all) of mv* JavaScript frameworks.They have definitions for angularjs, backbone, ember, knockout and more.Check it out.


  1. All JavaScript is TypeScript.
  2. MV* frameworks are JavaScript.
  3. Therefore, MV* frameworks are TypeScript.