Create the Typescript declaration files for your Svelte library and project.
npm i svelte-dts-gen
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.
svelte-dts-gen is 100% free and open-source, under the MIT license.
Thanks to these awesome companies for their support of Open Source developers ❤
Inspired by svelte-dts.