mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Fix build errors
This commit is contained in:
parent
9f3502a76a
commit
7403e78251
@ -1682,11 +1682,11 @@ export type StackClientApp<HasTokenStore extends boolean = boolean, ProjectId ex
|
||||
},
|
||||
}
|
||||
& AsyncStoreProperty<"project", [], ClientProjectJson, false>
|
||||
& { [K in `redirectTo${Capitalize<keyof Omit<HandlerUrls, 'handler' | 'oauthCallback'>>}`]: () => Promise<never> }
|
||||
& { [K in `redirectTo${Capitalize<keyof Omit<HandlerUrls, 'handler' | 'oauthCallback'>>}`]: () => Promise<void> }
|
||||
& (HasTokenStore extends false
|
||||
? {}
|
||||
: {
|
||||
redirectToOAuthCallback(): Promise<never>,
|
||||
redirectToOAuthCallback(): Promise<void>,
|
||||
useUser(options: GetUserOptions & { or: 'redirect' }): ProjectCurrentUser<ProjectId>,
|
||||
useUser(options: GetUserOptions & { or: 'throw' }): ProjectCurrentUser<ProjectId>,
|
||||
useUser(options?: GetUserOptions): ProjectCurrentUser<ProjectId> | null,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user