From 3215bc0bc56350eb3e9e61ef9767d7993cc3e030 Mon Sep 17 00:00:00 2001 From: Darcy Ye Date: Thu, 15 Sep 2022 17:35:42 +0800 Subject: [PATCH] chore: update GetUserInfo to accept possible boolean or number typed values (#1938) --- packages/connector-core/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/connector-core/src/types.ts b/packages/connector-core/src/types.ts index 7cf3c8486..d96482fd7 100644 --- a/packages/connector-core/src/types.ts +++ b/packages/connector-core/src/types.ts @@ -110,4 +110,4 @@ export type GetAuthorizationUri = (payload: { export type GetUserInfo = ( data: unknown -) => Promise<{ id: string } & Record>; +) => Promise<{ id: string } & Record>;