0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: update GetUserInfo to accept possible boolean or number typed values (#1938)

This commit is contained in:
Darcy Ye 2022-09-15 17:35:42 +08:00 committed by GitHub
parent c113f59744
commit 3215bc0bc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,4 +110,4 @@ export type GetAuthorizationUri = (payload: {
export type GetUserInfo = (
data: unknown
) => Promise<{ id: string } & Record<string, string | undefined>>;
) => Promise<{ id: string } & Record<string, string | boolean | number | undefined>>;