Using TypeScript with ArcGIS JS API 4

5774
2
05-18-2016 08:45 AM
ReneRubalcava
Frequent Contributor

esrijs-ts-1.png

This is a follow up video to a video published earlier.

In this video, I cover a little bit more information on using the TypeScript Definition Files global namespace types versus using them as simply constraints.

This video and the earlier video both provide a good overview of using the ArcGIS API 4 for JavaScript TypeScript Definition Files in a TypeScript project.

You can read more info on my blog with more resources

Tags (2)
2 Replies
SubuSwaminathan1
Occasional Contributor

Rene,

typings WARN badlocation "github:Esri/jsapi-resources/4.x/typescript/arcgis-js-a

  1. pi.d.ts" is mutable and may change, consider specifying a commit hash

arcgis-js-api

└── (No dependencies)

********************************************************************

Is it ok to get the above warning when installing "typings install --global github:Esri/jsapi-resources/4.x/typescript/arcgis-js-api.d.ts"

Thanks

Subu

0 Kudos
ReneRubalcava
Frequent Contributor

It looks like that warning comes from a new version of typings. I updated the repo to fix these updates.

GitHub - odoe/esrijs4-ts: Sample EsriJS 4 TypeScript Application

0 Kudos