Skip to content

Commit c5b3f62

Browse files
committed
tweak
1 parent 4c853a1 commit c5b3f62

File tree

1 file changed

+2
-2
lines changed
  • packages/svelte/src/internal/client/proxy

1 file changed

+2
-2
lines changed

packages/svelte/src/internal/client/proxy/proxy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ function unwrap(value, already_unwrapped = new Map()) {
102102
/**
103103
* @template T
104104
* @param {T} value
105-
* @returns {Record<string | symbol, any>}
105+
* @returns {T}
106106
*/
107107
export function unstate(value) {
108-
return unwrap(/** @type {StateObject} */ (value));
108+
return /** @type {T} */ (unwrap(/** @type {StateObject} */ (value)));
109109
}
110110

111111
/**

0 commit comments

Comments
 (0)