Skip to content

Commit 260bf21

Browse files
fix(auth): fix argument type for login with credentials (#1045) - @AlexanderArvidsson
1 parent 3b80135 commit 260bf21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.d.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,9 @@ type Credentials =
617617
type: 'popup' | 'redirect'
618618
scopes?: string[]
619619
}
620-
| AuthTypes.AuthCredential
620+
| {
621+
credential: AuthTypes.AuthCredential
622+
}
621623
| {
622624
token: string
623625
profile: Object

0 commit comments

Comments
 (0)