From 30bf5fe95854d8b82620a537fee8e997419ae167 Mon Sep 17 00:00:00 2001 From: Chris Helgert Date: Mon, 7 Oct 2019 10:48:55 +0200 Subject: [PATCH] chore: resolve implicit any in animate/index.ts --- src/runtime/animate/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/animate/index.ts b/src/runtime/animate/index.ts index ed6764a32c..eafa8c9cfd 100644 --- a/src/runtime/animate/index.ts +++ b/src/runtime/animate/index.ts @@ -21,7 +21,7 @@ export function flip(node: Element, animation: { from: DOMRect; to: DOMRect }, p const { delay = 0, - duration = d => Math.sqrt(d) * 120, + duration = (d: number) => Math.sqrt(d) * 120, easing = cubicOut } = params;