Skip to content

Commit 2ad808c

Browse files
committed
fix typo
1 parent 25620ac commit 2ad808c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

typings/AnimObject.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
type IEaseCallBack = ((t: number, b: number, c: number, d: number) => number);
22

3-
export declare type IAnimTyope = 'to' | 'from';
3+
export declare type IAnimType = 'to' | 'from';
44

55
export declare type IEaseType = 'linear' |
66
'easeInSine' | 'easeOutSine' | 'easeInOutSine' |
@@ -15,7 +15,7 @@ export declare type IEaseType = 'linear' |
1515
'easeInBounce' | 'easeOutBounce' | 'easeInOutBounce' |
1616
IEaseCallBack; // TweenOne ease path;
1717

18-
export interface IBezier {
18+
export interface IBezierProps {
1919
type?: string;
2020
autoRotate?: boolean;
2121
vars: { x: number, y: number }[];
@@ -29,7 +29,7 @@ export interface IChildrenProps {
2929

3030
export interface IStyleAnimProps {
3131
[key: string]: any;
32-
bezier?: IBezier;
32+
bezier?: IBezierProps;
3333
SVGDraw?: number | string;// DrawPlugin
3434
// Children
3535
Children?: IChildrenProps;
@@ -95,7 +95,7 @@ export interface IStyleAnimProps {
9595
}
9696

9797
export interface IAnimObject extends IStyleAnimProps {
98-
type?: IAnimTyope;
98+
type?: IAnimType;
9999
duration?: number;
100100
delay?: number;
101101
repeat?: number;

0 commit comments

Comments
 (0)