Skip to content

Commit 5c5a489

Browse files
Words.
1 parent f9cc013 commit 5c5a489

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/emitter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2214,14 +2214,14 @@ module ts {
22142214
return getQuotedEscapedLiteralText('"', node.text, '"');
22152215
}
22162216

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
22182218
// the node's parent reference, then simply get the text as it was originally written.
22192219
if (node.parent) {
22202220
return getSourceTextOfNodeFromSourceFile(currentSourceFile, node);
22212221
}
22222222

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.
22252225
switch (node.kind) {
22262226
case SyntaxKind.StringLiteral:
22272227
return getQuotedEscapedLiteralText('"', node.text, '"');

0 commit comments

Comments
 (0)