mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 01:49:57 -05:00
Add path back-reference tests
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user