Skip to main content

TypeScript support

Starting from v4.0, DHTMLX Spreadsheet supports TypeScript definitions. The built-in TypeScript support is ready to use.

note

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

DHTMLX Spreadsheet TypeScript support with type checking and autocomplete in an IDE

Advantages of using TypeScript

Why do you need to use DHTMLX Spreadsheet with TypeScript?

The main benefit of TypeScript is that it makes development significantly more efficient.

Building an application becomes more reliable because type checking and autocompletion help you avoid potential mistakes. In addition, TypeScript tells you which data types to use when working with the DHTMLX Spreadsheet API.

JSDoc hints

DHTMLX Spreadsheet type definitions include JSDoc annotations for the entire API. This means that when you work with the library in your IDE, you can read method descriptions, check parameter types, and view code examples without leaving your editor. Hover over any method or property to see the inline documentation.

DHTMLX Spreadsheet JSDoc hints showing inline method documentation in an IDE