When smelte is used with typescript, the compiler is confused because the file src/index.d.ts isn't part of the package. Adding them to the bundle fixes that problem. svelte-typed-component is imported from those file definitions. Moving that dependency from devDependencies to dependencies fixes that import.
I didn't find any contribution guidelines, let me know if that's the right way of helping :wink: Also, well done for your good work :clap:
When
smelte
is used withtypescript
, the compiler is confused because the filesrc/index.d.ts
isn't part of the package. Adding them to the bundle fixes that problem.svelte-typed-component
is imported from those file definitions. Moving that dependency fromdevDependencies
todependencies
fixes that import.I didn't find any contribution guidelines, let me know if that's the right way of helping :wink: Also, well done for your good work :clap:
Closes #166, closes #109