tlder@devSvelte 5.55.0 Exports Motion Primitive Types from svelte/motion
tlder@dev:~$
Design/Motion

Svelte 5.55.0 Exports Motion Primitive Types from svelte/motion

  • Shipped

Svelte 5.55.0 ships a targeted expansion of its public type surface: TweenOptions, SpringOptions, EasingFunction, and companion types are now re-exported from svelte/motion. Previously these types were internal implementation details, requiring consumers to duplicate or infer them. The change is part of the May 2026 Svelte release cycle and requires no migration — existing code continues to work unchanged. For design-system authors and animation library maintainers building on top of Svelte motion primitives, the exports eliminate boilerplate type workarounds and enable stricter contracts in wrapper APIs. Teams using TypeScript to enforce animation configuration schemas benefit most immediately, as they can now reference canonical types rather than maintaining local copies.