Demetrius Panovitch
Demetrius Panovitch
Also, isnt it possible to add some declaration files? i think there are some scripts that create them automatically based on the svelte component (such as [this one](https://github.com/andrelmlins/svelte-dts))
hi, thanks for responding back! actually, i think that before doing the typescript thing, the issue of the import path should be solved first. i've looked onto some other svelte...
thanks so much! once thats done, ill open another issue on typescript support and i might be able to help with it!
also, consider moving `component.js` and `item.js` to `src/`
are there any workarounds for this?
@effen1337 hi! can you provide the polyfill you used?
as far as i know, you cannot pass actions to components in a natural way. the author would have to accept an `use` property in every component and forward it....
how could this be solved? maybe adding `export let closeBtnClassName: string` prop on the `ToastHeader`, and receiving it on the `Toast` component?
can you provide a complete example using a [svelte repl](https://svelte.dev/repl/hello-world?version=3)?
@bestguy actually it would be necessary to change the color on the `Button.d.ts` file as well. I think it would be better if the `ButtonColor` type kinda "extended" the `Color`...