We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0ccf5 commit 72406b8Copy full SHA for 72406b8
types/index.d.ts
@@ -18,7 +18,7 @@ type Constructor<T> = new (...args: any[]) => T;
18
*/
19
export type RenderResult<C extends SvelteComponent, Q extends Queries = typeof queries> = {
20
container: HTMLElement
21
- component: Constructor<C>
+ component: C
22
debug: (el?: HTMLElement | DocumentFragment) => void
23
rerender: (options: SvelteComponentOptions<C>) => void
24
unmount: () => void
0 commit comments