diff --git a/types/index.d.ts b/types/index.d.ts index 9b688ed..73a9cf1 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -3,11 +3,11 @@ // Definitions by: Rahim Alwer import {queries, Queries, BoundFunction, EventType} from '@testing-library/dom' -import { SvelteComponent, ComponentProps } from 'svelte/types/runtime' +import { SvelteComponent, ComponentProps, ComponentConstructorOptions } from 'svelte/types/runtime' export * from '@testing-library/dom' -type SvelteComponentOptions = ComponentProps | {props: ComponentProps} +type SvelteComponentOptions = ComponentProps | Pick>, "anchor" | "props" | "hydrate" | "intro" | "context"> type Omit = Pick>