Skip to content

Commit

Permalink
fix: add any fallback to generic
Browse files Browse the repository at this point in the history
was like this in Svelte 3
  • Loading branch information
dummdidumm committed Jun 22, 2023
1 parent 0b09e1f commit 8905877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte/src/runtime/motion/spring.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>}
Expand Down

0 comments on commit 8905877

Please sign in to comment.