File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ import { ComponentChild } from 'preact'
55export * from '@testing-library/dom'
66
77export type RenderResult < Q extends Queries = typeof queries > = {
8- container : HTMLElement
9- baseElement : HTMLElement
10- debug : ( baseElement ?: HTMLElement | DocumentFragment ) => void
8+ container : Element
9+ baseElement : Element
10+ debug : ( baseElement ?: Element | DocumentFragment ) => void
1111 rerender : ( ui : ComponentChild ) => void
1212 unmount : ( ) => boolean
1313 asFragment : ( ) => DocumentFragment
1414} & { [ P in keyof Q ] : BoundFunction < Q [ P ] > }
1515
1616export interface RenderOptions < Q extends Queries = typeof queries > {
17- container ?: HTMLElement
18- baseElement ?: HTMLElement
17+ container ?: Element
18+ baseElement ?: Element
1919 queries ?: Q
2020 wrapper ?: ComponentChild
2121}
You can’t perform that action at this time.
0 commit comments