chore: update types for `$state.raw`

pull/15579/head
paoloricciuti 8 months ago
parent 3353fafa26
commit 23df27fb02

@ -117,6 +117,7 @@ declare namespace $state {
*
* @param initial The initial value
*/
export function raw<T>(initial?: T, options?: import('svelte').StateOptions): T;
export function raw<T>(initial: T): T;
export function raw<T>(): T | undefined;
/**

@ -2776,6 +2776,7 @@ declare namespace $state {
*
* @param initial The initial value
*/
export function raw<T>(initial?: T, options?: import('svelte').StateOptions): T;
export function raw<T>(initial: T): T;
export function raw<T>(): T | undefined;
/**

Loading…
Cancel
Save