Add path back-reference tests

This commit is contained in:
Ron Buckton
2018-08-28 11:44:40 -07:00
parent dc5cd9676b
commit 37ec065d93
32 changed files with 602 additions and 155 deletions

View File

@@ -22233,7 +22233,7 @@ namespace ts {
for (const decl of indexSymbol.declarations) {
const declaration = <SignatureDeclaration>decl;
if (declaration.parameters.length === 1 && declaration.parameters[0].type) {
switch (declaration.parameters[0].type.kind) {
switch (declaration.parameters[0].type!.kind) {
case SyntaxKind.StringKeyword:
if (!seenStringIndexer) {
seenStringIndexer = true;