dylanblokhuis/svelte-feather-icons

TypeScript compatibility ( Intellisense )

Hygor opened this issue · 2 comments

Hygor commented

I just started to use TypeScript in my Svelte projects since it's fully compatible using the script tag with lang attribute:

<script lang='typescript'>
// do your code here...
</script>

But for the svelte-feather-icons it still missing the definitions of the types @types/svelte-feather-icons to use it with IDE IntelliSense.

Type definitions are added, although it's not complete since (in my testing) it did not autocomplete props.

#13 fixed this issue