We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9159ac commit 54d47f6Copy full SHA for 54d47f6
javascript/ql/src/semmle/javascript/CanonicalNames.qll
@@ -210,7 +210,9 @@ class CanonicalName extends @symbol {
210
class TypeName extends CanonicalName {
211
TypeName() {
212
exists(TypeReference ref | type_symbol(ref, this)) or
213
- exists(TypeDefinition def | ast_node_symbol(def, this))
+ exists(TypeDefinition def | ast_node_symbol(def, this)) or
214
+ base_type_names(_, this) or
215
+ base_type_names(this, _)
216
}
217
218
/**
0 commit comments