Skip to content

Commit 30bf5fe

Browse files
chrishelgertConduitry
authored andcommitted
chore: resolve implicit any in animate/index.ts
1 parent 0831887 commit 30bf5fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/animate/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function flip(node: Element, animation: { from: DOMRect; to: DOMRect }, p
2121

2222
const {
2323
delay = 0,
24-
duration = d => Math.sqrt(d) * 120,
24+
duration = (d: number) => Math.sqrt(d) * 120,
2525
easing = cubicOut
2626
} = params;
2727

0 commit comments

Comments
 (0)