Skip to content

Commit

Permalink
fix: 类型 MoveToOptions 的 easing 属性非必填
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed May 28, 2024
1 parent 8aae5fb commit 33a3af8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions types/animates/MoveAnimation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ export type MoveToOptions = {
* @deprecated 已废弃
* */
speed?: number | AnimationCallback;
/** easing 时间函数 */
easing: EasingCallback;
/**
* easing 时间函数,未设置时为 Linear
* TODO: https://github.com/xyy94813/amap-jsapi-v2-types/issues/21#issuecomment-2135147341
*/
easing?: EasingCallback;
/** 覆盖物是否沿路径旋转 */
autoRotation?: boolean;
};
Expand Down

0 comments on commit 33a3af8

Please sign in to comment.