We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1415eee commit 6f13a8bCopy full SHA for 6f13a8b
packages/svelte/src/motion/tweened.js
@@ -174,8 +174,8 @@ export function tweened(value, defaults = {}) {
174
* @since 5.8.0
175
*/
176
export class Tween {
177
- #current = source(/** @type {T} */ (undefined));
178
- #target = source(/** @type {T} */ (undefined));
+ #current = source(/** @type {T | undefined} */ (undefined));
+ #target = source(/** @type {T | undefined} */ (undefined));
179
180
/** @type {TweenedOptions<T>} */
181
#defaults;
0 commit comments