From 742d4a75294a8da272336e243806953222df99f4 Mon Sep 17 00:00:00 2001 From: Nick McCurdy Date: Fri, 20 Nov 2020 17:26:34 -0500 Subject: [PATCH] fix(types): allow all elements --- types/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index f139508..1c554d7 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -15,15 +15,15 @@ type Omit = Pick> * Render a Component into the Document. */ export type RenderResult = { - container: HTMLElement + container: Element component: SvelteComponent - 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 }