Open NaviTheCoderboi opened 1 month ago
svelte2tsx also has an emitDts mode you can use. https://github.com/sveltejs/language-tools/blob/master/packages/svelte2tsx/src/emitDts.ts. You can also reference the implementation If you have a specific reason for not using it,
@jasonlyu123 i have written my code from that only, but i am not getting expected output
Please provide a proper reproduction (the link is a 404)
guys i am using svelte2tsx for transforming svelte to tsx for gneerating .d.ts
i get such output
when i use typescript on it , i t gives me such .d.ts file, how do i fix it?
my code: https://github.com/NaviTheCoderboi/foo