Closed GauBen closed 3 years ago
This is no longer necessary thanks to https://www.npmjs.com/package/@types/rollup-plugin-svelte-svg
I'd been reluctant to merge since I wasn't sure about Svelte2TsxComponent
, but new definitions look great. I notice it's been updated to reflect new API as well. Thanks @GauBen.
You're welcome!
There are indeed several classes used to type svelte components, and Svelte2TsxComponent
is used for .svelte
files, providing auto-completion in both js and html. This is however not usable in DefinitelyTyped, so I picked SvelteComponent
.
Hello, I added some documentation for a problem I encountered today.
Have a nice day!