Skip to content

Commit

Permalink
Export interfaces for transition params (#5221)
Browse files Browse the repository at this point in the history
fixes #5207
  • Loading branch information
umanghome authored Mar 24, 2021
1 parent e6d9c5f commit 27a61a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/runtime/transition/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface TransitionConfig {
tick?: (t: number, u: number) => void;
}

interface BlurParams {
export interface BlurParams {
delay?: number;
duration?: number;
easing?: EasingFunction;
Expand Down Expand Up @@ -40,7 +40,7 @@ export function blur(node: Element, {
};
}

interface FadeParams {
export interface FadeParams {
delay?: number;
duration?: number;
easing?: EasingFunction;
Expand All @@ -61,7 +61,7 @@ export function fade(node: Element, {
};
}

interface FlyParams {
export interface FlyParams {
delay?: number;
duration?: number;
easing?: EasingFunction;
Expand Down Expand Up @@ -94,7 +94,7 @@ export function fly(node: Element, {
};
}

interface SlideParams {
export interface SlideParams {
delay?: number;
duration?: number;
easing?: EasingFunction;
Expand Down Expand Up @@ -132,7 +132,7 @@ export function slide(node: Element, {
};
}

interface ScaleParams {
export interface ScaleParams {
delay?: number;
duration?: number;
easing?: EasingFunction;
Expand Down Expand Up @@ -165,7 +165,7 @@ export function scale(node: Element, {
};
}

interface DrawParams {
export interface DrawParams {
delay?: number;
speed?: number;
duration?: number | ((len: number) => number);
Expand Down Expand Up @@ -198,7 +198,7 @@ export function draw(node: SVGElement & { getTotalLength(): number }, {
};
}

interface CrossfadeParams {
export interface CrossfadeParams {
delay?: number;
duration?: number | ((len: number) => number);
easing?: EasingFunction;
Expand Down

0 comments on commit 27a61a7

Please sign in to comment.