We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ee3bd0 commit d90914fCopy full SHA for d90914f
packages/firestore/src/api/credentials.ts
@@ -401,7 +401,7 @@ export class FirstPartyToken implements Token {
401
private _headers = new Map();
402
403
constructor(
404
- private readonly gapi: Gapi,
+ private readonly gapi: Gapi | null,
405
private readonly sessionIndex: string,
406
private readonly iamToken: string | null,
407
private readonly authTokenFactory: AuthTokenFactory | null
@@ -450,7 +450,7 @@ export class FirstPartyAuthCredentialsProvider
450
implements CredentialsProvider<User>
451
{
452
453
- private gapi: Gapi,
+ private gapi: Gapi | null,
454
private sessionIndex: string,
455
private iamToken: string | null,
456
private authTokenFactory: AuthTokenFactory | null
0 commit comments