mirror of https://github.com/sveltejs/svelte
It is not possible to use typescript when using `target: document` during component initialization, because target can only be of type Element or ShadowRoot. This means that it is not possible to hydrate the entire document when managing the <html> element as a Svelte component. This commit fixes this by allowing documents to be targets.pull/7554/head
parent
a4fa98c532
commit
bcd822f77d
Loading…
Reference in new issue