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.