svelte-dts-gen

Svelte Dts Gen

Svelte TypedDefinition Generator

Svelte dts generator

Create the Typescript declaration files for your Svelte library and project.

Requirement

  • Nodejs ^18.0.0

Installation

npm i svelte-dts-gen

How it works

The svelte-dts-gen interpret the properties, events and slot properties in the svelte code, using typescript and svelte compiler to generate the TypeScript Declaration files. svelte-dts-gen will generate the declaration based on typescript type, jsdoc, or javascript default type.

License

svelte-dts-gen is 100% free and open-source, under the MIT license.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

Inspired by svelte-dts.

Top categories

Loading Svelte Themes