Skip to content

Commit

Permalink
Removing cancelAnimation type
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Dec 8, 2023
1 parent 2dc4474 commit 5219671
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packages/framer-motion/src/render/VisualElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,6 @@ export abstract class VisualElement<
[key: string]: VoidFunction
} = {}

cancelOptimisedAnimation?: { [key: string]: VoidFunction }

constructor(
{
parent,
Expand Down
1 change: 0 additions & 1 deletion packages/framer-motion/src/value/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ interface ResolvedValues {

export interface Owner {
current: HTMLElement | unknown
cancelOptimisedAnimation?: { [key: string]: VoidFunction }
getProps: () => { onUpdate?: (latest: ResolvedValues) => void }
}

Expand Down

0 comments on commit 5219671

Please sign in to comment.