Skip to content

Commit dfe38a4

Browse files
committed
Fixes
1 parent a5ec03b commit dfe38a4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/firestore/src/lite-api/expressions.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ export abstract class Expr implements ProtoValueSerializable, UserData {
18901890
* ```
18911891
*
18921892
* @param key The name of the key to remove from the input map.
1893-
* @returns A new {@code FirestoreFunction} representing the 'mapRemove' operation.
1893+
* @return A new {@code Expr} that evaluates to a modified map.
18941894
*/
18951895
mapRemove(key: string): FunctionExpr;
18961896
/**
@@ -1904,7 +1904,7 @@ export abstract class Expr implements ProtoValueSerializable, UserData {
19041904
* ```
19051905
*
19061906
* @param keyExpr An expression that produces the name of the key to remove from the input map.
1907-
* @returns A new {@code FirestoreFunction} representing the 'mapRemove' operation.
1907+
* @return A new {@code Expr} that evaluates to a modified map.
19081908
*/
19091909
mapRemove(keyExpr: Expr): FunctionExpr;
19101910
mapRemove(stringExpr: Expr | string): FunctionExpr {
@@ -3248,6 +3248,7 @@ export function isNotNan(value: Expr | string): BooleanExpr {
32483248
*
32493249
* @param mapField The name of a field containing a map value.
32503250
* @param key The name of the key to remove from the input map.
3251+
* @return A new {@code Expr} that evaluates to a modified map.
32513252
*/
32523253
export function mapRemove(mapField: string, key: string): FunctionExpr;
32533254
/**
@@ -3262,6 +3263,7 @@ export function mapRemove(mapField: string, key: string): FunctionExpr;
32623263
*
32633264
* @param mapExpr An expression return a map value.
32643265
* @param key The name of the key to remove from the input map.
3266+
* @return A new {@code Expr} that evaluates to a modified map.
32653267
*/
32663268
export function mapRemove(mapExpr: Expr, key: string): FunctionExpr;
32673269
/**
@@ -3276,6 +3278,7 @@ export function mapRemove(mapExpr: Expr, key: string): FunctionExpr;
32763278
*
32773279
* @param mapField The name of a field containing a map value.
32783280
* @param keyExpr An expression that produces the name of the key to remove from the input map.
3281+
* @return A new {@code Expr} that evaluates to a modified map.
32793282
*/
32803283
export function mapRemove(mapField: string, keyExpr: Expr): FunctionExpr;
32813284
/**
@@ -3290,6 +3293,7 @@ export function mapRemove(mapField: string, keyExpr: Expr): FunctionExpr;
32903293
*
32913294
* @param mapExpr An expression return a map value.
32923295
* @param keyExpr An expression that produces the name of the key to remove from the input map.
3296+
* @return A new {@code Expr} that evaluates to a modified map.
32933297
*/
32943298
export function mapRemove(mapExpr: Expr, keyExpr: Expr): FunctionExpr;
32953299

0 commit comments

Comments
 (0)