Skip to content

Commit

Permalink
fix: update text
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 20, 2024
1 parent 8e80a25 commit 25d7470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialization/pointers/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class Text extends List<string> {
* @returns {number} The number of bytes allocated for the text.
*/

getLength(): number {
get length(): number {
return super.length - 1;
}

Expand Down

0 comments on commit 25d7470

Please sign in to comment.