Skip to content

Commit 677c70d

Browse files
committed
Fixing types
1 parent 9a5bca6 commit 677c70d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/framer-motion/src/types.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,11 @@ type CSSPropertiesWithoutTransitionOrSingleTransforms = Omit<
10001000
"transition" | "rotate" | "scale" | "perspective"
10011001
>
10021002

1003-
type SVGTransformAttributes = "attrX" | "attrY" | "attrScale"
1003+
type SVGTransformAttributes = {
1004+
attrX: number
1005+
attrY: number
1006+
attrScale: number
1007+
}
10041008

10051009
type TargetProperties = CSSPropertiesWithoutTransitionOrSingleTransforms &
10061010
SVGAttributes<SVGElement> &

0 commit comments

Comments
 (0)