Revert "chore: resolve TODO for reusing of TransitionConfig"

This reverts commit 0831887ef9.

This was causing TypeScript linting errors, and can be revisited at another time.
pull/3691/head
Conduitry 5 years ago
parent 30bf5fe958
commit 43245a30fd

@ -1,8 +1,14 @@
import { cubicOut } from 'svelte/easing';
import { is_function } from 'svelte/internal';
import { TransitionConfig } from 'svelte/transition';
export interface AnimationConfig extends TransitionConfig {}
// todo: same as Transition, should it be shared?
export interface AnimationConfig {
delay?: number;
duration?: number;
easing?: (t: number) => number;
css?: (t: number, u: number) => string;
tick?: (t: number, u: number) => void;
}
interface FlipParams {
delay: number;

Loading…
Cancel
Save