Skip to content

Commit

Permalink
Update tweened.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocean-OS authored Dec 26, 2024
1 parent 28d5563 commit a501878
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/svelte/src/motion/tweened.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function get_interpolator(a, b) {
* A tweened store in Svelte is a special type of store that provides smooth transitions between state values over time.
*
* @deprecated Use [`Tween`](https://svelte.dev/docs/svelte/svelte-motion#Tween) instead
* @template T
* @template {number} T
* @param {T} [value]
* @param {TweenedOptions<T>} [defaults]
* @returns {Tweened<T>}
Expand Down Expand Up @@ -170,7 +170,7 @@ export function tweened(value, defaults = {}) {
* <input type="range" bind:value={tween.target} />
* <input type="range" bind:value={tween.current} disabled />
* ```
* @template T
* @template {number} T
* @since 5.8.0
*/
export class Tween {
Expand Down Expand Up @@ -205,7 +205,7 @@ export class Tween {
* const tween = Tween.of(() => number);
* </script>
* ```
* @template U
* @template {number} U
* @param {() => U} fn
* @param {TweenedOptions<U>} [options]
*/
Expand Down

0 comments on commit a501878

Please sign in to comment.