|
|
|
@ -612,9 +612,9 @@ declare module 'svelte' {
|
|
|
|
|
|
|
|
|
|
|
|
type Hydratable = {
|
|
|
|
type Hydratable = {
|
|
|
|
<T>(key: string, fn: () => T, options?: Transport<T>): T;
|
|
|
|
<T>(key: string, fn: () => T, options?: Transport<T>): T;
|
|
|
|
get: <T>(key: string) => T | undefined;
|
|
|
|
get: <T>(key: string, options?: { decode?: Decode<T> }) => T | undefined;
|
|
|
|
has: (key: string) => boolean;
|
|
|
|
has: (key: string) => boolean;
|
|
|
|
set: <T>(key: string, value: T, options?: Transport<T>) => void;
|
|
|
|
set: <T>(key: string, value: T, options?: { encode?: Encode<T> }) => void;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
export {};
|
|
|
|
export {};
|
|
|
|
|