Skip to content

Commit 5f7d4f4

Browse files
authored
fix: LoroText.length is a property not a function (#24)
1 parent d0818ef commit 5f7d4f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pages/docs/tutorial/text.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Get the character at the given position.
237237
Delete and return the string at the given range and insert a string at the same
238238
position.
239239

240-
### `length(): number`
240+
### `length: number`
241241

242242
Get the length of text
243243

0 commit comments

Comments
 (0)