Skip to content

Commit 6446801

Browse files
authored
fix(types): use typeof SvelteComponent for correct component support (#30)
see sveltejs/language-tools#486
1 parent cb7be55 commit 6446801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface SvelteToastOptions {
3333
intro?: FlyParams
3434
theme?: { [key: string]: string }
3535
component?: {
36-
src: SvelteComponent
36+
src: typeof SvelteComponent
3737
props?: { [key: string]: any }
3838
sendIdTo?: string
3939
}

0 commit comments

Comments
 (0)