File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
// Definitions by: Rahim Alwer <https://github.com/mihar-22>
4
4
5
5
import { queries , Queries , BoundFunction , EventType } from '@testing-library/dom'
6
- import { SvelteComponent } from 'svelte/types/runtime/internal/Component '
6
+ import { SvelteComponent } from 'svelte/types/runtime'
7
7
8
8
export * from '@testing-library/dom'
9
9
@@ -28,13 +28,13 @@ export interface RenderOptions<Q extends Queries = typeof queries> {
28
28
}
29
29
30
30
export function render (
31
- component : SvelteComponent ,
31
+ component : typeof SvelteComponent ,
32
32
componentOptions ?: SvelteComponentOptions ,
33
33
renderOptions ?: Omit < RenderOptions , 'queries' >
34
34
) : RenderResult
35
35
36
36
export function render < Q extends Queries > (
37
- component : SvelteComponent ,
37
+ component : typeof SvelteComponent ,
38
38
componentOptions ?: SvelteComponentOptions ,
39
39
renderOptions ?: RenderOptions < Q > ,
40
40
) : RenderResult < Q >
You can’t perform that action at this time.
0 commit comments