Using Vault with TypeScript

Starting from v4.0, TypeScript type definitions are embedded into the dhtmlxVault library. The built-in support of TypeScript should work without any configuration.

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

Benefits of using TypeScript

Why do you need to use dhtmlxVault with TypeScript?

Firstly, TypeScript gives you much more confidence in your code by catching potential errors and preventing you from usage of incorrect types.

Besides, the app development becomes faster as TypeScript lets you know exactly what type of data APIs of the dhtmlxVault library expect. Thus, you'll be able to code without constantly using the documentation.

Back to top