From 5aa48d0ab432002ccf49d65bf2ff637e82a2b402 Mon Sep 17 00:00:00 2001 From: Acid Coder <5227509+tylim88@users.noreply.github.com> Date: Tue, 4 Oct 2022 06:21:57 +0800 Subject: [PATCH] fix documentation typo (#6583) * fix typo of documentation in code * Create cool-seas-confess.md * fix formatting Co-authored-by: Maneesh Tewani --- .changeset/cool-seas-confess.md | 5 +++++ packages/database/src/api/Reference_impl.ts | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/cool-seas-confess.md diff --git a/.changeset/cool-seas-confess.md b/.changeset/cool-seas-confess.md new file mode 100644 index 00000000000..14cd3fd3f9c --- /dev/null +++ b/.changeset/cool-seas-confess.md @@ -0,0 +1,5 @@ +--- +"@firebase/database": patch +--- + +Fixed `endBefore` and `push` documentation typos in RTDB diff --git a/packages/database/src/api/Reference_impl.ts b/packages/database/src/api/Reference_impl.ts index ef98380d0d1..eec1b1afafe 100644 --- a/packages/database/src/api/Reference_impl.ts +++ b/packages/database/src/api/Reference_impl.ts @@ -578,8 +578,8 @@ export interface ThenableReferenceImpl * resulting list of items is chronologically sorted. The keys are also * designed to be unguessable (they contain 72 random bits of entropy). * - * See {@link https://firebase.google.com/docs/database/web/lists-of-data#append_to_a_list_of_data | Append to a list of data} - *
See {@link ttps://firebase.googleblog.com/2015/02/the-2120-ways-to-ensure-unique_68.html | The 2^120 Ways to Ensure Unique Identifiers} + * See {@link https://firebase.google.com/docs/database/web/lists-of-data#append_to_a_list_of_data | Append to a list of data}. + * See {@link https://firebase.googleblog.com/2015/02/the-2120-ways-to-ensure-unique_68.html | The 2^120 Ways to Ensure Unique Identifiers}. * * @param parent - The parent location. * @param value - Optional value to be written at the generated location. @@ -1782,8 +1782,8 @@ class QueryEndBeforeConstraint extends QueryConstraint { * * The ending point is exclusive. If only a value is provided, children * with a value less than the specified value will be included in the query. - * If a key is specified, then children must have a value lesss than or equal - * to the specified value and a a key name less than the specified key. + * If a key is specified, then children must have a value less than or equal + * to the specified value and a key name less than the specified key. * * @param value - The value to end before. The argument type depends on which * `orderBy*()` function was used in this query. Specify a value that matches