Skip to main content

TypeScript support

From v6.5, the DHTMLX Suite library includes TypeScript definitions that let you work with DHTMLX components faster and more effectively.

Snippet Tool editor showing TypeScript autocompletion for a Colorpicker in DHTMLX Suite

TypeScript support is built in and requires no extra setup.

info

You can try out the functionality directly in the Snippet Tool.

Benefits of using TypeScript​

The main advantage of TypeScript is that app development becomes much easier, safer, and more productive. Type checking and autocompletion help you avoid common mistakes and write more stable code.

Using TypeScript is also a good practice: all modern IDEs offer suggestions and type checking for the DHTMLX code you write.