From 8905877bab4a527bc8e4ae75997c6e361abb18f3 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Thu, 22 Jun 2023 15:17:29 +0200 Subject: [PATCH] fix: add any fallback to generic was like this in Svelte 3 --- packages/svelte/src/runtime/motion/spring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte/src/runtime/motion/spring.js b/packages/svelte/src/runtime/motion/spring.js index 39f77b5776e0..68c04923cf8b 100644 --- a/packages/svelte/src/runtime/motion/spring.js +++ b/packages/svelte/src/runtime/motion/spring.js @@ -49,7 +49,7 @@ function tick_spring(ctx, last_value, current_value, target_value) { * The spring function in Svelte creates a store whose value is animated, with a motion that simulates the behavior of a spring. This means when the value changes, instead of transitioning at a steady rate, it "bounces" like a spring would, depending on the physics parameters provided. This adds a level of realism to the transitions and can enhance the user experience. * * https://svelte.dev/docs/svelte-motion#spring - * @template T + * @template [T=any] * @param {T} [value] * @param {import('./private.js').SpringOpts} [opts] * @returns {import('./public.js').Spring}