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.
Constructor
render()
1 parent 696181e commit fd8b5c7Copy full SHA for fd8b5c7
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: C
+ component: Constructor<C>
22
debug: (el?: HTMLElement | DocumentFragment) => void
23
rerender: (options: SvelteComponentOptions<C>) => void
24
unmount: () => void
0 commit comments