File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
packages/svelte/src/internal/client Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export function createRoot() {
105
105
* @template {Record<string, any>} Events
106
106
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>> } component
107
107
* @param {{
108
- * target: Element | Document | ShadowRoot ;
108
+ * target: Node ;
109
109
* props?: Props;
110
110
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
111
111
* context?: Map<any, any>;
@@ -128,7 +128,7 @@ export function mount(component, options) {
128
128
* @template {Record<string, any>} Events
129
129
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>> } component
130
130
* @param {{
131
- * target: Element | Document | ShadowRoot ;
131
+ * target: Node ;
132
132
* props?: Props;
133
133
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
134
134
* context?: Map<any, any>;
@@ -198,7 +198,7 @@ export function hydrate(component, options) {
198
198
* @template {Record<string, any>} Events
199
199
* @param {import('../../main/public.js').ComponentType<import('../../main/public.js').SvelteComponent<Props, Events>> } Component
200
200
* @param {{
201
- * target: Element | Document | ShadowRoot ;
201
+ * target: Node ;
202
202
* anchor: null | Text;
203
203
* props?: Props;
204
204
* events?: { [Property in keyof Events]: (e: Events[Property]) => any };
You can’t perform that action at this time.
0 commit comments