Skip to content

Commit

Permalink
(fix) align types with Svelte v3.58.0 (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunnerh authored Mar 31, 2023
1 parent 975843a commit 65a23ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte2tsx/svelte-shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ interface Svelte2TsxComponentConstructorParameters<Props extends {}> {
/**
* An HTMLElement to render to. This option is required.
*/
target: Element | ShadowRoot;
target: Element | Document | ShadowRoot;
/**
* A child of `target` to render the component immediately before.
*/
Expand Down

0 comments on commit 65a23ac

Please sign in to comment.