File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33// Definitions by: Rahim Alwer <https://github.com/mihar-22>
44
55import { queries , Queries , BoundFunction , EventType } from '@testing-library/dom'
6- import { SvelteComponent } from 'svelte/types/runtime/internal/Component '
6+ import { SvelteComponent } from 'svelte/types/runtime'
77
88export * from '@testing-library/dom'
99
@@ -28,13 +28,13 @@ export interface RenderOptions<Q extends Queries = typeof queries> {
2828}
2929
3030export function render (
31- component : SvelteComponent ,
31+ component : typeof SvelteComponent ,
3232 componentOptions ?: SvelteComponentOptions ,
3333 renderOptions ?: Omit < RenderOptions , 'queries' >
3434) : RenderResult
3535
3636export function render < Q extends Queries > (
37- component : SvelteComponent ,
37+ component : typeof SvelteComponent ,
3838 componentOptions ?: SvelteComponentOptions ,
3939 renderOptions ?: RenderOptions < Q > ,
4040) : RenderResult < Q >
You can’t perform that action at this time.
0 commit comments