File tree 1 file changed +1
-2
lines changed
tests/baselines/reference/api 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -6495,7 +6495,7 @@ declare namespace ts {
6495
6495
* @param pos The start position.
6496
6496
* @param end The end position.
6497
6497
*/
6498
- function createRange(pos: number, end: number): TextRange;
6498
+ function createRange(pos: number, end? : number): TextRange;
6499
6499
/**
6500
6500
* Creates a new TextRange from a provided range with a new end position.
6501
6501
*
@@ -6603,7 +6603,6 @@ declare namespace ts {
6603
6603
function textSpanIntersectsWithPosition(span: TextSpan, position: number): boolean;
6604
6604
function textSpanIntersection(span1: TextSpan, span2: TextSpan): TextSpan | undefined;
6605
6605
function createTextSpan(start: number, length: number): TextSpan;
6606
- function createTextRange(pos: number, end?: number): TextRange;
6607
6606
function createTextSpanFromBounds(start: number, end: number): TextSpan;
6608
6607
function textChangeRangeNewSpan(range: TextChangeRange): TextSpan;
6609
6608
function textChangeRangeIsUnchanged(range: TextChangeRange): boolean;
You can’t perform that action at this time.
0 commit comments