Has anyone had luck wrapping typescript widgets for WAB?

617
1
10-21-2019 06:03 AM
BradWilson1
New Contributor II

I just found this example (GitHub - gbochenek/wab-test-example: ESRI Web App Builder Widget built using a wrapped widget conven... ) and I really like the ideas proposed. I am however completely new to typescript so I can reaching out to see if anyone has used this design pattern with typescript that they could share/explain. Thank you in advance for your help!

1 Reply
shaylavi
Esri Contributor

Hi Brad,

A bit of a late response, but I found this live demo that shows how to work with TS when developing widgets -

YouTube 

You can use the Yeoman generator tool to quickly start with new widgets in modern es6 and wrap it with TS - 
GitHub - Esri/generator-esri-appbuilder-js: Yeoman generator to help customize Esri's WebAppBuilder 

Shay

Shay