Skip to content

Commit

Permalink
Update packages/common/src/types/TextLine.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Cohen <[email protected]>
  • Loading branch information
AndreasArvidsson and phillco authored Aug 3, 2024
1 parent 42d0548 commit 0caf114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/types/TextLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface TextLine {

/**
* The trimmed range, which excludes leading and trailing whitespace (`/\s/`).
* **Note** that if a line is all whitespace this is undefined so the trimmed range can never be empty.
* **Note:** if a line is all whitespace, the `rangeTrimmed` is undefined. Thus, a trimmed range can never be empty.
*/
readonly rangeTrimmed: Range | undefined;

Expand Down

0 comments on commit 0caf114

Please sign in to comment.