Typescript - DataRecord

Hi webix team,
I facing issue when converting from JavaScript to TypeScript.

Issue:
let settingStore = new webix.DataRecord({ some properties });

  • In JavaScript, above code works.

as i am converting this code to TypeScript:
const settingStore: webix.DataRecord = new webix.DataRecord({ some properties });

  • Cannot use ‘new’ with an expression whose type lacks a call or construct signature.

Btw, im still new in TypeScript. :smiley:

Up

Please use the updated d.ts files
https://files.webix.com/30d/eae3f31b5f351cee409d59983f65a12b/webix.d.ts.zip

Thanks, Webix Team :smiley: