I am trying to use webix together with Angular 2, but I get the following typescript error when trying to use ActiveContent in a Datatable.
TypeScript:
webix.protoUI({ name: “activeTable” }, webix.ui.datatable, webix.ActiveContent);
Error:
error TS2339: Property ‘datatable’ does not exist on type ‘typeof ui’.
I am using the following TypeScript definition file:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/webix/webix.d.ts
What is the reason for this error and how can I solve it?