Skip to content

Commit 83aacd8

Browse files
authored
Update Installations types (#2246)
1 parent dc14f5c commit 83aacd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/firebase/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ declare namespace firebase.installations {
13401340
*
13411341
* @return Firebase Installation Authentication Token
13421342
*/
1343-
getToken(): Promise<string>;
1343+
getToken(forceRefresh?: boolean): Promise<string>;
13441344

13451345
/**
13461346
* Deletes the Firebase Installation and all associated data.

packages/installations-types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface FirebaseInstallations {
3131
*
3232
* @return Firebase Installation Authentication Token
3333
*/
34-
getToken(): Promise<string>;
34+
getToken(forceRefresh?: boolean): Promise<string>;
3535

3636
/**
3737
* Deletes the Firebase Installation and all associated data.

0 commit comments

Comments
 (0)