mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JS: Update type usage in definitions.qll
This commit is contained in:
@@ -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"
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user