Skip to content

Commit 222923e

Browse files
committed
fix: revert CurrentUserChecker type
1 parent 2e65daa commit 222923e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CurrentUserChecker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ import { Action } from './Action';
33
/**
44
* Special function used to get currently authorized user.
55
*/
6-
export type CurrentUserChecker = <User = any>(action: Action) => Promise<User | null> | User | null;
6+
export type CurrentUserChecker = (action: Action) => Promise<any> | any;

0 commit comments

Comments
 (0)