We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e65daa commit 222923eCopy full SHA for 222923e
src/CurrentUserChecker.ts
@@ -3,4 +3,4 @@ import { Action } from './Action';
3
/**
4
* Special function used to get currently authorized user.
5
*/
6
-export type CurrentUserChecker = <User = any>(action: Action) => Promise<User | null> | User | null;
+export type CurrentUserChecker = (action: Action) => Promise<any> | any;
0 commit comments