XrmServiceToolKit Typescript definition file

Jun 4, 2015 at 11:15 AM

Is there a typescript definition file for this wonderful utility. I have just started playing with typescript and would like to refactor some code that uses xrm service toolkit?

Jun 29, 2015 at 10:49 AM
Hi There.

David Berry provided a TypeScript definition file for the script previously, but as I have not really looked into TypeScript. I have not been able to provide an updated definition file for the recent releases.

Sorry about that.

Kind Regards,
Mar 29, 2016 at 8:36 AM
As Jaimieji already said there is a typescript definition file but since it is rather old and typescript made some api changes you have to manually adjust it to work with a recent typescript version. one example would be the change from "bool" to "boolean" as typename for bools.