File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
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 , ComponentProps } from 'svelte/types/runtime'
6
+ import { SvelteComponent , ComponentProps , ComponentConstructorOptions } from 'svelte/types/runtime'
7
7
8
8
export * from '@testing-library/dom'
9
9
10
- type SvelteComponentOptions < C extends SvelteComponent > = ComponentProps < C > | { props : ComponentProps < C > }
10
+ type SvelteComponentOptions < C extends SvelteComponent > = ComponentProps < C > | Pick < ComponentConstructorOptions < ComponentProps < C > > , "anchor" | "props" | "hydrate" | "intro" | "context" >
11
11
12
12
type Omit < T , K extends keyof T > = Pick < T , Exclude < keyof T , K > >
13
13
You can’t perform that action at this time.
0 commit comments