Skip to content

Commit a2a3d12

Browse files
committed
Add signature change to firebase/index.d.ts.
1 parent 198ea4d commit a2a3d12

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/firebase/index.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18+
import { EmulatorMockTokenOptions } from '@firebase/util';
19+
1820
/**
1921
* <code>firebase</code> is a global namespace from which all Firebase
2022
* services are accessed.
@@ -8179,8 +8181,16 @@ declare namespace firebase.firestore {
81798181
*
81808182
* @param host the emulator host (ex: localhost).
81818183
* @param port the emulator port (ex: 9000).
8184+
* @param options.mockUserToken - the mock auth token to use for unit
8185+
* testing Security Rules.
81828186
*/
8183-
useEmulator(host: string, port: number): void;
8187+
useEmulator(
8188+
host: string,
8189+
port: number,
8190+
options?: {
8191+
mockUserToken?: EmulatorMockTokenOptions;
8192+
}
8193+
): void;
81848194

81858195
/**
81868196
* Attempts to enable persistent storage, if possible.

0 commit comments

Comments
 (0)