From df0e2d31bbe9ecc0ccf7ecd7cafd1187da57332d Mon Sep 17 00:00:00 2001 From: kotaindah55 Date: Tue, 22 Apr 2025 08:46:27 +0200 Subject: [PATCH] style: add public modifier to `ILine` fields --- src/editor-mode/utils/doc-utils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/editor-mode/utils/doc-utils.ts b/src/editor-mode/utils/doc-utils.ts index 88a4ad5..65d3455 100644 --- a/src/editor-mode/utils/doc-utils.ts +++ b/src/editor-mode/utils/doc-utils.ts @@ -14,10 +14,10 @@ function _isTextNode(doc: Text): doc is TextNode { } export class ILine extends Line { - readonly from: number; - readonly to: number; - readonly number: number; - readonly text: string; + public readonly from: number; + public readonly to: number; + public readonly number: number; + public readonly text: string; constructor(from: number, to: number, number: number, text: string) { super();