Skip to content

Commit 04379a9

Browse files
committed
update
1 parent 55ef438 commit 04379a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export { config } from "./utils";
55
import { AnimatedStyle } from "./AnimatedStyle";
66
import { applyAnimatedValues } from "./applyAnimatedValues";
77
import { createHost, WithAnimated } from "./createHost";
8+
import { Interpolation } from "./Interpolation";
89
import { primitives } from "./primitives";
910

1011
const host = createHost(primitives, {
@@ -14,5 +15,6 @@ const host = createHost(primitives, {
1415
});
1516

1617
export const animated = host.animated as WithAnimated;
17-
export { to } from "./globals";
18+
export const to = (source: any, ...args: [any]) =>
19+
new Interpolation(source, args);
1820
export { animated as a };

0 commit comments

Comments
 (0)