We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dacc4f commit 8e5ba12Copy full SHA for 8e5ba12
src/index.tsx
@@ -117,7 +117,9 @@ export type IntercomType = {
117
* Valid identifiers are `userId` and `email` which must be set in the {@link UserAttributes} object.
118
* @param params The {@link UserAttributes} object that contains the user's `email` or `userId`.
119
*/
120
- loginUserWithUserAttributes: (params: UserAttributes) => Promise<boolean>;
+ loginUserWithUserAttributes: (
121
+ params: Pick<UserAttributes, 'email' | 'userId'>
122
+ ) => Promise<boolean>;
123
124
/**
125
* Log a user out of their Intercom session.
0 commit comments