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 1415eee commit 6f13a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/svelte/src/motion/tweened.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ export function tweened(value, defaults = {}) {
* @since 5.8.0
*/
export class Tween {
#current = source(/** @type {T} */ (undefined));
#target = source(/** @type {T} */ (undefined));
#current = source(/** @type {T | undefined} */ (undefined));
#target = source(/** @type {T | undefined} */ (undefined));

/** @type {TweenedOptions<T>} */
#defaults;
Expand Down

0 comments on commit 6f13a8b

Please sign in to comment.