mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Amended comment.
This commit is contained in:
parent
7211dfa84d
commit
a71c527a9e
@ -822,7 +822,7 @@ module ts {
|
||||
return false;
|
||||
}
|
||||
|
||||
// We can only be unclosed if we have a tail or a no-sub template.
|
||||
// The literal can only be unterminated if it is a template tail or a no-sub template.
|
||||
if (node.kind !== SyntaxKind.TemplateTail && node.kind !== SyntaxKind.NoSubstitutionTemplateLiteral) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user