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 1fce4c6 commit 0831887Copy full SHA for 0831887
src/runtime/animate/index.ts
@@ -1,14 +1,8 @@
1
import { cubicOut } from 'svelte/easing';
2
import { is_function } from 'svelte/internal';
3
+import { TransitionConfig } from 'svelte/transition';
4
-// todo: same as Transition, should it be shared?
5
-export interface AnimationConfig {
6
- delay?: number;
7
- duration?: number;
8
- easing?: (t: number) => number;
9
- css?: (t: number, u: number) => string;
10
- tick?: (t: number, u: number) => void;
11
-}
+export interface AnimationConfig extends TransitionConfig {}
12
13
interface FlipParams {
14
delay: number;
0 commit comments