Update javascript/ql/src/semmle/javascript/TypeScript.qll

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Asger F
2020-09-04 08:55:31 +01:00
committed by GitHub
parent c05f5c1bc2
commit 0704be4d41

View File

@@ -697,7 +697,7 @@ class TypeAccess extends @typeaccess, TypeExpr, TypeRef {
exists(ImportEqualsDeclaration imprt |
moduleName = getImportName(imprt.getImportedEntity()) and
this =
imprt.getId().(LocalNamespaceDecl).getLocalNamespaceName().getAMemberAccess(exportedName)
imprt.getIdentifier().(LocalNamespaceDecl).getLocalNamespaceName().getAMemberAccess(exportedName)
)
}
}