Skip to content

Commit d90914f

Browse files
committed
Nullable gapi
1 parent 0ee3bd0 commit d90914f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firestore/src/api/credentials.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ export class FirstPartyToken implements Token {
401401
private _headers = new Map();
402402

403403
constructor(
404-
private readonly gapi: Gapi,
404+
private readonly gapi: Gapi | null,
405405
private readonly sessionIndex: string,
406406
private readonly iamToken: string | null,
407407
private readonly authTokenFactory: AuthTokenFactory | null
@@ -450,7 +450,7 @@ export class FirstPartyAuthCredentialsProvider
450450
implements CredentialsProvider<User>
451451
{
452452
constructor(
453-
private gapi: Gapi,
453+
private gapi: Gapi | null,
454454
private sessionIndex: string,
455455
private iamToken: string | null,
456456
private authTokenFactory: AuthTokenFactory | null

0 commit comments

Comments
 (0)