We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3adff6c + c8f9bda commit 0847435Copy full SHA for 0847435
index.d.ts
@@ -231,6 +231,11 @@ declare module "@uidotdev/usehooks" {
231
}
232
): "idle" | "loading" | "ready" | "error";
233
234
+ export function useSessionStorage<T>(
235
+ key: string,
236
+ initialValue: T
237
+ ): [T, React.Dispatch<React.SetStateAction<T>>];
238
+
239
export function useSet<T>(values?: T[]): Set<T>;
240
241
export function useSpeech(text: string, options?: SpeechOptions): SpeechState;
0 commit comments