Is there a Typescript definition file for jimu.js (jimu.d.ts)?

1443
2
02-20-2017 07:57 AM
2 Replies
RobertScheitlin__GISP
MVP Emeritus

There is not that I have seen.

0 Kudos
MatthewLewis3
New Contributor II

There are no types for jimu. However for those who still wish to use typescript you can declare like so at the top of your ts file. 

/// <amd-dependency path="jimu/BaseWidget" name="BaseWidget" />
declare var BaseWidget: any; // there is no ts definition of BaseWidget yet
‍‍
0 Kudos