From e529ab2baef184eed703fda318375b7f46544a0e Mon Sep 17 00:00:00 2001 From: Ken Depelchin Date: Thu, 24 Apr 2025 16:40:20 +0200 Subject: [PATCH] update types for loginUserWithUserAttributes --- src/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index d30c6ed8..0dbd2fd1 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -117,7 +117,9 @@ export type IntercomType = { * Valid identifiers are `userId` and `email` which must be set in the {@link UserAttributes} object. * @param params The {@link UserAttributes} object that contains the user's `email` or `userId`. */ - loginUserWithUserAttributes: (params: UserAttributes) => Promise; + loginUserWithUserAttributes: ( + params: Pick + ) => Promise; /** * Log a user out of their Intercom session.