TypeScript

The package is written in typescript and has full-type support. The typescript will help you by autocompleting the properties of the dialog instance and checking the types of the fallthrough attribute you pass to the dialog component.

Therefore, it is highly recommended to use it with typescript, which will greatly improve your developer experience.

Autocomplete properties and methods of dialog instance

img

Passing argument with the wrong type

img