diff --git a/types/index.d.ts b/types/index.d.ts index 224fc80..f139508 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Rahim Alwer import {queries, Queries, BoundFunction, EventType} from '@testing-library/dom' -import { SvelteComponent } from 'svelte/types/runtime/internal/Component' +import { SvelteComponent } from 'svelte/types/runtime' export * from '@testing-library/dom' @@ -28,13 +28,13 @@ export interface RenderOptions { } export function render( - component: SvelteComponent, + component: typeof SvelteComponent, componentOptions?: SvelteComponentOptions, renderOptions?: Omit ): RenderResult export function render( - component: SvelteComponent, + component: typeof SvelteComponent, componentOptions?: SvelteComponentOptions, renderOptions?: RenderOptions, ): RenderResult