Skip to content

Commit 5b23225

Browse files
authored
Added the constructor defination on OAuthProvider (#1673)
1 parent 81a4bae commit 5b23225

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/auth-types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ export interface IdTokenResult {
182182
}
183183

184184
export class OAuthProvider implements AuthProvider {
185+
constructor(providerId: string);
185186
providerId: string;
186187
addScope(scope: string): AuthProvider;
187188
credential(idToken?: string, accessToken?: string): OAuthCredential;

packages/firebase/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3173,6 +3173,7 @@ declare namespace firebase.auth {
31733173
* @param providerId The associated provider ID, such as `github.com`.
31743174
*/
31753175
class OAuthProvider implements firebase.auth.AuthProvider {
3176+
constructor(providerId: string);
31763177
providerId: string;
31773178
/**
31783179
* @param scope Provider OAuth scope to add.

0 commit comments

Comments
 (0)