File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4318,10 +4318,6 @@ namespace ts {
4318
4318
return createTextSpan ( start , end - start ) ;
4319
4319
}
4320
4320
4321
- export function createTextSpanFromNode ( node : Node , sourceFile ?: SourceFile ) : TextSpan {
4322
- return createTextSpanFromBounds ( node . getStart ( sourceFile ) , node . getEnd ( ) ) ;
4323
- }
4324
-
4325
4321
export function textChangeRangeNewSpan ( range : TextChangeRange ) {
4326
4322
return createTextSpan ( range . span . start , range . newLength ) ;
4327
4323
}
Original file line number Diff line number Diff line change @@ -1112,6 +1112,10 @@ namespace ts {
1112
1112
return ! tripleSlashDirectivePrefixRegex . test ( commentText ) ;
1113
1113
}
1114
1114
}
1115
+
1116
+ export function createTextSpanFromNode ( node : Node , sourceFile ?: SourceFile ) : TextSpan {
1117
+ return createTextSpanFromBounds ( node . getStart ( sourceFile ) , node . getEnd ( ) ) ;
1118
+ }
1115
1119
}
1116
1120
1117
1121
// Display-part writer helpers
You can’t perform that action at this time.
0 commit comments