File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
+ import { EmulatorMockTokenOptions } from '@firebase/util' ;
19
+
18
20
/**
19
21
* <code>firebase</code> is a global namespace from which all Firebase
20
22
* services are accessed.
@@ -8179,8 +8181,16 @@ declare namespace firebase.firestore {
8179
8181
*
8180
8182
* @param host the emulator host (ex: localhost).
8181
8183
* @param port the emulator port (ex: 9000).
8184
+ * @param options.mockUserToken - the mock auth token to use for unit
8185
+ * testing Security Rules.
8182
8186
*/
8183
- useEmulator ( host : string , port : number ) : void ;
8187
+ useEmulator (
8188
+ host : string ,
8189
+ port : number ,
8190
+ options ?: {
8191
+ mockUserToken ?: EmulatorMockTokenOptions ;
8192
+ }
8193
+ ) : void ;
8184
8194
8185
8195
/**
8186
8196
* Attempts to enable persistent storage, if possible.
You can’t perform that action at this time.
0 commit comments