fix: add any fallback to generic

was like this in Svelte 3
pull/8799/head
Simon Holthausen 2 years ago
parent 0b09e1f4d0
commit 8905877bab

@ -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. * 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 * https://svelte.dev/docs/svelte-motion#spring
* @template T * @template [T=any]
* @param {T} [value] * @param {T} [value]
* @param {import('./private.js').SpringOpts} [opts] * @param {import('./private.js').SpringOpts} [opts]
* @returns {import('./public.js').Spring<T>} * @returns {import('./public.js').Spring<T>}

Loading…
Cancel
Save