TypeScript with the ArcGIS API 4 for JavaScript
- Clone the repo and
npm install
dependencies npm run dev
to compile/app/main.ts
tomain.js
in the same folder and watch for changes- launch
index.html
in your browser of choice. npm run lint
to run TSLint on TypeScript files.
I stole this from a repo I keep tucked up under... https://github.com/Esri/jsapi-resources/tree/master/4.x/typescript/demo