diff --git a/dev/src/field-value.ts b/dev/src/field-value.ts index c511de632..e4036c9fa 100644 --- a/dev/src/field-value.ts +++ b/dev/src/field-value.ts @@ -95,8 +95,9 @@ export class FieldValue { * If the current field value is not of type 'number', or if the field does * not yet exist, the transformation will set the field to the given value. * - * @param n The value to increment by. - * @return The FieldValue sentinel for use in a call to set() or update(). + * @param {number} n The value to increment by. + * @return {FieldValue} The FieldValue sentinel for use in a call to set(), + * create() or update(). * * @example * let documentRef = firestore.doc('col/doc'); diff --git a/types/firestore.d.ts b/types/firestore.d.ts index d5263f104..d0554ac98 100644 --- a/types/firestore.d.ts +++ b/types/firestore.d.ts @@ -1181,7 +1181,8 @@ declare namespace FirebaseFirestore { * not yet exist, the transformation will set the field to the given value. * * @param n The value to increment by. - * @return The FieldValue sentinel for use in a call to set() or update(). + * @return The FieldValue sentinel for use in a call to set(), create() or + * update(). */ static increment(n: number): FieldValue;