File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2214,14 +2214,14 @@ module ts {
2214
2214
return getQuotedEscapedLiteralText ( '"' , node . text , '"' ) ;
2215
2215
}
2216
2216
2217
- // If we don't need to downlevel, and we can reach the original source text using
2217
+ // If we don't need to downlevel and we can reach the original source text using
2218
2218
// the node's parent reference, then simply get the text as it was originally written.
2219
2219
if ( node . parent ) {
2220
2220
return getSourceTextOfNodeFromSourceFile ( currentSourceFile , node ) ;
2221
2221
}
2222
2222
2223
- // If we can't reach the original source text, use the canonical form of it's a number,
2224
- // or a escaped quoted form of the original text if it's string-like.
2223
+ // If we can't reach the original source text, use the canonical form if it's a number,
2224
+ // or an escaped quoted form of the original text if it's string-like.
2225
2225
switch ( node . kind ) {
2226
2226
case SyntaxKind . StringLiteral :
2227
2227
return getQuotedEscapedLiteralText ( '"' , node . text , '"' ) ;
You can’t perform that action at this time.
0 commit comments