The arcgis-js-api.d.ts file provides type definitions for ArcGIS API for JavaScript.
A copy of this file is also available at DefinitelyTyped and may be installed using the command:
npm install --save @types/arcgis-js-api@3
- 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.