Closed pleskac closed 1 week ago
1. Read the FAQs 👇 ✅
2. Describe the bug
Easing types are no longer exported (regression from Motion One -> motion/mini). The output package looks like this:
Easing
Motion One
motion/mini
The type exists in motion/react but I'm restricting imports to not accidentally import anything with react bindings/peerDeps.
motion/react
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
[Types bug, sandbox not necessary?]
4. Steps to reproduce
Steps to reproduce the behavior:
import { type BezierDefinition } from "motion"
5. Expected behavior
No typechecking errors
6. Video or screenshots
Error: Module '"motion"' has no exported member 'BezierDefinition'. ts(2305)
Module '"motion"' has no exported member 'BezierDefinition'. ts(2305)
7. Environment details
motion@11.11.15
1. Read the FAQs 👇 ✅
2. Describe the bug
Easing
types are no longer exported (regression fromMotion One
->motion/mini
). The output package looks like this:The type exists in
motion/react
but I'm restricting imports to not accidentally import anything with react bindings/peerDeps.3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
[Types bug, sandbox not necessary?]
4. Steps to reproduce
Steps to reproduce the behavior:
import { type BezierDefinition } from "motion"
5. Expected behavior
No typechecking errors
6. Video or screenshots
Error:
Module '"motion"' has no exported member 'BezierDefinition'. ts(2305)
7. Environment details
motion@11.11.15