Skip to content

Commit 218d86b

Browse files
authored
fix: Export missing type AnimationConfig (#2128)
1 parent 3fddaca commit 218d86b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/cool-brooms-boil.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@react-spring/core': patch
3+
---
4+
5+
Export missing type AnimationConfig

packages/core/src/types/objects.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import type { AnimationConfig } from '../AnimationConfig'
44
import type { SpringValue } from '../SpringValue'
55
import type { Readable } from './internal'
66

7+
export type { AnimationConfig }
8+
79
/** The object type of the `config` prop. */
810
export type SpringConfig = Partial<AnimationConfig>
911

0 commit comments

Comments
 (0)