Example of Esri, dojo widget and TypeScipt
grunt-esri-slurp
Very simple widget which contains a map and a text box to demonstrate the strucutre required for TypeScript dojo widgets
Locally hosted versions of the Esri Library can be used for development
grunt-esri-slurp and bower to download the dojo & esri libraries
To install the esri and dojo dependencies once bower is installed change directory to Dojo-Widget-Esri-TypeScript-Demo:
npm install
The index.html will need to be pointed at the locally hosted version. Also make edits to init.js as per comments.