We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 234f6f0 commit 274d444Copy full SHA for 274d444
src/index.d.ts
@@ -1,5 +1,6 @@
1
// index.d.ts
2
import type { SvelteComponent } from 'svelte'
3
+import type { FlyParams } from 'svelte/types/runtime/transition/index'
4
5
declare module '@zerodevx/svelte-toast'
6
@@ -15,15 +16,15 @@ declare module '@zerodevx/svelte-toast'
15
16
* intro: { x: 256 }, // toast intro fly animation settings
17
* theme: {} // css var overrides
18
* }
- ```
19
+ * ```
20
*/
21
export interface SvelteToastOptions {
22
duration: number
23
dismissable: boolean
24
initial: number
25
progress: number
26
reversed: boolean
- intro: any
27
+ intro: FlyParams
28
theme: { [key: string]: string }
29
}
30
0 commit comments