Merge pull request #20941 from mariusschulz/stringCompletionsForIndexedAccessTypes

Return string completions for indexed access types
This commit is contained in:
Daniel Rosenwasser
2018-01-06 21:07:00 -08:00
committed by GitHub
5 changed files with 31 additions and 8 deletions

View File

@@ -4403,7 +4403,7 @@ namespace ts {
return node.kind === SyntaxKind.RegularExpressionLiteral;
}
export function isNoSubstitutionTemplateLiteral(node: Node): node is LiteralExpression {
export function isNoSubstitutionTemplateLiteral(node: Node): node is NoSubstitutionTemplateLiteral {
return node.kind === SyntaxKind.NoSubstitutionTemplateLiteral;
}