@@ -61,7 +61,7 @@ firebase.firestore.Settings = function() {};
61
61
* default and this option will be removed. You should change your code to
62
62
* use `Timestamp` and opt-in to this new behavior as soon as you can.
63
63
*
64
- * @typedef {boolean }
64
+ * @type {boolean }
65
65
*/
66
66
firebase . firestore . Settings . prototype . timestampsInSnapshots ;
67
67
@@ -463,7 +463,7 @@ firebase.firestore.SetOptions = function() {};
463
463
* Changes the behavior of a set() call to only replace the values specified
464
464
* in its data argument. Fields omitted from the set() call remain untouched.
465
465
*
466
- * @typedef {boolean }
466
+ * @type {boolean }
467
467
*/
468
468
firebase . firestore . SetOptions . prototype . merge ;
469
469
@@ -472,7 +472,7 @@ firebase.firestore.SetOptions.prototype.merge;
472
472
* paths. Any field path that is not specified is ignored and remains
473
473
* untouched.
474
474
*
475
- * @typedef {Array<string>|Array<firebase.firestore.FieldPath> }
475
+ * @type {Array<string>|Array<firebase.firestore.FieldPath> }
476
476
*/
477
477
firebase . firestore . SetOptions . prototype . mergeFields ;
478
478
@@ -630,7 +630,7 @@ firebase.firestore.SnapshotOptions = function() {};
630
630
* If omitted or set to 'none', `null` will be returned by default until the
631
631
* server value becomes available.
632
632
*
633
- * @typedef {string|undefined }
633
+ * @type {string|undefined }
634
634
*/
635
635
firebase . firestore . SnapshotOptions . prototype . serverTimestamps ;
636
636
@@ -660,7 +660,7 @@ firebase.firestore.GetOptions = function() {};
660
660
* data, `DocumentReference.get()` will return an error and
661
661
* `QuerySnapshot.get()` will return an empty `QuerySnapshot`.
662
662
*
663
- * @typedef {string|undefined }
663
+ * @type {string|undefined }
664
664
*/
665
665
firebase . firestore . GetOptions . prototype . source ;
666
666
@@ -677,7 +677,7 @@ firebase.firestore.SnapshotMetadata = function() {};
677
677
* you will receive another snapshot with `fromCache` set to false once
678
678
* the client has received up-to-date data from the backend.
679
679
*
680
- * @typedef {boolean }
680
+ * @type {boolean }
681
681
*/
682
682
firebase . firestore . SnapshotMetadata . prototype . fromCache ;
683
683
@@ -690,7 +690,7 @@ firebase.firestore.SnapshotMetadata.prototype.fromCache;
690
690
* snapshot with `hasPendingWrites` set to false once the writes have been
691
691
* committed to the backend.
692
692
*
693
- * @typedef {boolean }
693
+ * @type {boolean }
694
694
*/
695
695
firebase . firestore . SnapshotMetadata . prototype . hasPendingWrites ;
696
696
@@ -722,35 +722,35 @@ firebase.firestore.DocumentSnapshot = function() {};
722
722
* Property of the `DocumentSnapshot` that signals whether or not the data
723
723
* exists. True if the document exists.
724
724
*
725
- * @typedef {boolean }
725
+ * @type {boolean }
726
726
*/
727
727
firebase . firestore . DocumentSnapshot . prototype . exists ;
728
728
729
729
/**
730
730
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
731
731
*
732
- * @typedef {!firebase.firestore.DocumentReference }
732
+ * @type {!firebase.firestore.DocumentReference }
733
733
*/
734
734
firebase . firestore . DocumentSnapshot . prototype . ref ;
735
735
736
736
/**
737
737
* Property of the `DocumentSnapshot` that provides the document's ID.
738
738
*
739
- * @typedef {string }
739
+ * @type {string }
740
740
*/
741
741
firebase . firestore . DocumentSnapshot . prototype . id ;
742
742
743
743
/**
744
744
* Metadata about the `DocumentSnapshot`, including information about its
745
745
* source and local modifications.
746
746
*
747
- * @typedef {!firebase.firestore.SnapshotMetadata }
747
+ * @type {!firebase.firestore.SnapshotMetadata }
748
748
*/
749
749
firebase . firestore . DocumentSnapshot . prototype . metadata ;
750
750
751
751
/**
752
752
* An object containing all the data in a document.
753
- * @typedef {Object }
753
+ * @type {Object }
754
754
*/
755
755
firebase . firestore . DocumentData ;
756
756
@@ -856,7 +856,7 @@ firebase.firestore.SnapshotListenOptions = function() {};
856
856
* Raise an event even if only metadata of the query or document
857
857
* changes. Default is false.
858
858
*
859
- * @typedef {boolean }
859
+ * @type {boolean }
860
860
*/
861
861
firebase . firestore . SnapshotListenOptions . prototype . includeMetadataChanges ;
862
862
0 commit comments