Skip to content

Commit 65a23ac

Browse files
authored
(fix) align types with Svelte v3.58.0 (#1968)
1 parent 975843a commit 65a23ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte2tsx/svelte-shims.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ interface Svelte2TsxComponentConstructorParameters<Props extends {}> {
6565
/**
6666
* An HTMLElement to render to. This option is required.
6767
*/
68-
target: Element | ShadowRoot;
68+
target: Element | Document | ShadowRoot;
6969
/**
7070
* A child of `target` to render the component immediately before.
7171
*/

0 commit comments

Comments
 (0)