We have need of extending the sketch widget to allow for some custom behaviors and buttons. I followed the steps given in https://github.com/jcfranco/dev-summit-2017-customizing-widgets
We started by installing the types of both arcgis and dojo:
npm init --yes
npm install --save @types/arcgis-js-api
npm install dojo-typings --save-dev
packages.json
Set up the typscript config as such:
When I copy over the widget and compile, I get the following.
Errors:
I attempted to resolve the paths, but I can't find these references. When I look in the project on git hub, some of these paths do not exist. I must have something set up incorrectly. Any help putting me #in the right direction would be wonderful.