Tommertom / svelte-ionic-npm

NPM package that goes along with Ionic Svelte integration demo
MIT License
19 stars 0 forks source link

Typescript issues - component signatures are not correct #3

Closed Tommertom closed 1 year ago

Tommertom commented 1 year ago

When using named slots, you will get typescript error = probably due to missing signature file. Where can I find this?

Tommertom commented 1 year ago

image

https://www.viget.com/articles/typing-components-in-svelte/

Tommertom commented 1 year ago

Seems related to named slots not being propagated to the enclosed webcomponent

So first we need to solve that before focussing on this typescript message

Tommertom commented 1 year ago

Solved by adding <slot name="end"> in the component definition