JS: Update type usage in definitions.qll

This commit is contained in:
Asger F
2025-06-03 13:50:27 +02:00
parent 17a687b38f
commit 9d4c38b5f1

View File

@@ -126,7 +126,7 @@ private predicate propertyLookup(Expr prop, AstNode write, string kind) {
private predicate typeLookup(AstNode ref, AstNode decl, string kind) {
exists(TypeAccess typeAccess |
ref = typeAccess.getIdentifier() and
decl = typeAccess.getTypeName().getADefinition() and
decl = typeAccess.getTypeBinding().getTypeDefinition() and
kind = "T"
)
}