Skip to content

Commit 4388cef

Browse files
committed
[docs] Typos
1 parent 9b7844e commit 4388cef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/@types/common/docs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,16 @@
115115
*
116116
* This is used internally by TinyBase for the synchronizer protocol and for
117117
* unique MergeableStore identifiers. But it is useful enough for it to be
118-
* publicly exposes for purposes such as identifying shared collaboration rooms,
118+
* publicly exposed for purposes such as identifying shared collaboration rooms,
119119
* or creating other Ids that need to be unique.
120120
*
121121
* The string may contain numbers, lower or upper case letters, or the '-' or
122122
* '_' characters. This makes them URL-safe, and means they can be identified
123123
* with a regex like `/[-_0-9A-Za-z]+/`.
124124
*
125125
* This function prefers to use the `crypto` module to generate random numbers,
126-
* but where that is not available (such as in React Native), a Math.random
127-
* implementation is used. Whilst that my not be cryptographically sound, it
126+
* but where that is not available (such as in React Native), a `Math.random`
127+
* implementation is used. Whilst that may not be cryptographically sound, it
128128
* should suffice for most TinyBase-related purposes.
129129
* @param length The desired length of the unique Id, defaulting to 16.
130130
* @returns A unique Id of the required length.

0 commit comments

Comments
 (0)