The arcgis-js-api.d.ts file provides type definitions for ArcGIS API for JavaScript.
The typings tool may be used to install this using the command:
typings install --global github:Esri/jsapi-resources/3.x/typescript/arcgis-js-api.d.ts
A copy of this file is also available at DefinitelyTyped and NuGet.
- TypeScript 1.4+
The TypeScript demo app has been compiled using: $ tsc -m amd demo/main.ts
Switch to the gh-pages
branch to see the JavaScript output files.
- Microsoft TypeScript Wiki
- TypeScript Editor Support
- The Definitive TypeScript Guide from SitePen
- Type definitions for Dojo are available here.
- Type definitions for many other libraries are available here.