Skip to content

Commit

Permalink
Fixing types
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Apr 18, 2023
1 parent 9a5bca6 commit 677c70d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/framer-motion/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,11 @@ type CSSPropertiesWithoutTransitionOrSingleTransforms = Omit<
"transition" | "rotate" | "scale" | "perspective"
>

type SVGTransformAttributes = "attrX" | "attrY" | "attrScale"
type SVGTransformAttributes = {
attrX: number
attrY: number
attrScale: number
}

type TargetProperties = CSSPropertiesWithoutTransitionOrSingleTransforms &
SVGAttributes<SVGElement> &
Expand Down

0 comments on commit 677c70d

Please sign in to comment.