Skip to content

Commit 0704be4

Browse files
asgerferik-krogh
andauthored
Update javascript/ql/src/semmle/javascript/TypeScript.qll
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
1 parent c05f5c1 commit 0704be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ class TypeAccess extends @typeaccess, TypeExpr, TypeRef {
697697
exists(ImportEqualsDeclaration imprt |
698698
moduleName = getImportName(imprt.getImportedEntity()) and
699699
this =
700-
imprt.getId().(LocalNamespaceDecl).getLocalNamespaceName().getAMemberAccess(exportedName)
700+
imprt.getIdentifier().(LocalNamespaceDecl).getLocalNamespaceName().getAMemberAccess(exportedName)
701701
)
702702
}
703703
}

0 commit comments

Comments
 (0)