mirror of https://github.com/sveltejs/svelte
fix: expose types for all TS resolution modes, fix SvelteComponent export (#8721)
also add some legacy import paths which should be changed in usage sites ASAP --------- Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>pull/8733/head
parent
aec4137d72
commit
cc82d5ddcb
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: ensure types are loaded with all TS settings
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: export correct SvelteComponent type
|
@ -1,3 +1,3 @@
|
|||||||
declare module '*.svelte' {
|
declare module '*.svelte' {
|
||||||
export { SvelteComponentDev as default } from 'svelte/internal';
|
export { SvelteComponent as default } from 'svelte';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue