Skip to content

Commit c4292a0

Browse files
author
Andy Hanson
committed
Fix typo
1 parent a33ae77 commit c4292a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3806,7 +3806,7 @@ namespace ts {
38063806
}
38073807

38083808
export function textRangeContainsPositionInclusive(span: TextRange, position: number): boolean {
3809-
return position >= span.pos && position < span.end;
3809+
return position >= span.pos && position <= span.end;
38103810
}
38113811

38123812
// Returns true if 'span' contains 'other'.

0 commit comments

Comments
 (0)