Skip to content

Commit

Permalink
fix: 🐛 fix animationOptions type (#1989)
Browse files Browse the repository at this point in the history
* fix: 🐛 update dnd widget zIndex

* fix: 🐛 fix animateOptions type
  • Loading branch information
NewByVector committed Apr 12, 2022
1 parent d72f5c6 commit a10f07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x6/src/util/dom/geom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export interface AnimateCallbacks {
}

export type AnimationOptions = AnimateCallbacks & {
[name: string]: string | number | undefined
[name: string]: any
}

export function animate(elem: SVGElement, options: AnimationOptions) {
Expand Down

0 comments on commit a10f07b

Please sign in to comment.