We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
set
1 parent bc289b4 commit 0a19ba2Copy full SHA for 0a19ba2
1 file changed
src/core/packages/user-storage/browser/src/use_user_storage.ts
@@ -31,7 +31,7 @@ export const useUserStorageClient = (): IUserStorageClient => {
31
return client;
32
};
33
34
-export type UserStorageSetter<T> = (newValue: T) => Promise<void>;
+export type UserStorageSetter<T> = (newValue: T) => Promise<T>;
35
36
/**
37
* Subscribes to a single user-storage key and returns a `[value, setter]`
0 commit comments