Skip to content

Commit 73f1076

Browse files
authored
Minor style changes for a RTDB comment block (#1857)
* Fixing some formatting. * Making some minor style changes in comments for database.Reference.push().
1 parent 021a38c commit 73f1076

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

packages/firebase/index.d.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4838,13 +4838,13 @@ declare namespace firebase.database {
48384838
*
48394839
* This is the most common pattern for adding data to a collection of items.
48404840
*
4841-
* If you provide a value to `push()`, the value will be written to the
4842-
* generated location. If you don't pass a value, nothing will be written to the
4843-
* Database and the child will remain empty (but you can use the `Reference`
4841+
* If you provide a value to `push()`, the value is written to the
4842+
* generated location. If you don't pass a value, nothing is written to the
4843+
* database and the child remains empty (but you can use the `Reference`
48444844
* elsewhere).
48454845
*
4846-
* The unique key generated by `push()` are ordered by the current time, so the
4847-
* resulting list of items will be chronologically sorted. The keys are also
4846+
* The unique keys generated by `push()` are ordered by the current time, so the
4847+
* resulting list of items is chronologically sorted. The keys are also
48484848
* designed to be unguessable (they contain 72 random bits of entropy).
48494849
*
48504850
*
@@ -4874,9 +4874,8 @@ declare namespace firebase.database {
48744874
* @param value Optional value to be written at the generated location.
48754875
* @param onComplete Callback called when write to server is
48764876
* complete.
4877-
* @return Combined `Promise` and
4878-
* `Reference`; resolves when write is complete, but can be used immediately
4879-
* as the `Reference` to the child location.
4877+
* @return Combined `Promise` and `Reference`; resolves when write is complete, but can be
4878+
* used immediately as the `Reference` to the child location.
48804879
*/
48814880
push(
48824881
value?: any,

0 commit comments

Comments
 (0)