diff --git a/types/index.d.ts b/types/index.d.ts index 6a45e3e..a5373d7 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -22,15 +22,16 @@ type Omit = Pick> * Render a Component into the Document. */ export type RenderResult = { - container: HTMLElement + container: Element + component: SvelteComponent component: SvelteComponentTyped - debug: (el?: HTMLElement | DocumentFragment) => void + debug: (el?: Element | DocumentFragment) => void rerender: (options: SvelteComponentOptions) => void unmount: () => void } & { [P in keyof Q]: BoundFunction } export interface RenderOptions { - container?: HTMLElement + container?: Element queries?: Q }