Skip to content

Commit c149ca9

Browse files
committed
Add useEmulator to exp global typings
1 parent 7c84291 commit c149ca9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages-exp/firebase-exp/compat/index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7646,6 +7646,13 @@ declare namespace firebase.storage {
76467646
* @see {@link firebase.storage.Storage.maxUploadRetryTime}
76477647
*/
76487648
setMaxUploadRetryTime(time: number): any;
7649+
/**
7650+
* Modify this `Storage` instance to communicate with the Cloud Storage emulator.
7651+
*
7652+
* @param host - The emulator host (ex: localhost)
7653+
* @param port - The emulator port (ex: 5001)
7654+
*/
7655+
useEmulator(host: string, port: number): void;
76497656
}
76507657

76517658
/**

packages/firebase/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7618,7 +7618,7 @@ declare namespace firebase.storage {
76187618
* @param host - The emulator host (ex: localhost)
76197619
* @param port - The emulator port (ex: 5001)
76207620
*/
7621-
useEmulator(host: string, port: string): void;
7621+
useEmulator(host: string, port: number): void;
76227622
}
76237623

76247624
/**

0 commit comments

Comments
 (0)