is the webix fully compitable with typescript

Dear webix team,

i m planning to use webix with typescript i would like to know is the webix current and future version will be fully supported with typescript

Hello,

Yep, Webix supports Typescript and provides the “webix.d.ts” file in the downloaded package in the “codebase” folder. Here you can find some guides on how to use Typescript with Webix.

The future versions will be supported with Typescript as well, each new release is supplied with a renewed file with definitions.

@Helga I didn’t want to make a thread for this but thought I’d just jump on here and say.

I think there is an issue with the type definition in “webix.d.ts” for the webix.require function.

In webix_debug.js it is defined as: webix.require( module, callback, master )

In webix.d.ts it is defined as function require(url:string):void;

So on compilation when I use 3 arguments it will complain at me for using 3 arguments when it only has a definition for 1 argument.

I changed it in my copy of webix.d.ts to be function require(url:string, callback?:WebixCallback, master?:any):void;

Thanks

Similar fix included in latest webix.d.ts ( Webix 5.3 )