Skip to content

Commit dc66e62

Browse files
committed
lint
1 parent 992bb83 commit dc66e62

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/svelte/src/internal/shared/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export function run_all(arr) {
4747
/**
4848
* TODO replace with Promise.withResolvers once supported widely enough
4949
* @template T
50-
* @returns {PromiseWithResolvers<T>}
5150
*/
5251
export function deferred() {
5352
/** @type {(value: T) => void} */

packages/svelte/src/motion/spring.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export class Spring {
177177
/** @type {import('../internal/client/types').Task | null} */
178178
#task = null;
179179

180-
/** @type {PromiseWithResolvers<any> | null} */
180+
/** @type {ReturnType<typeof deferred> | null} */
181181
#deferred = null;
182182

183183
/**

0 commit comments

Comments
 (0)