diff --git a/packages/web-util/src/hooks/useLocalStorage.ts b/packages/web-util/src/hooks/useLocalStorage.ts index f6241f427..fae5537a4 100644 --- a/packages/web-util/src/hooks/useLocalStorage.ts +++ b/packages/web-util/src/hooks/useLocalStorage.ts @@ -36,6 +36,11 @@ export type StorageKey = { codec: Codec; }; +export function buildStorageKey( + name: string, + codec: Codec, +): StorageKey; +export function buildStorageKey(name: string): StorageKey; export function buildStorageKey( name: string, codec?: Codec,