We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 385e663 commit b3eac67Copy full SHA for b3eac67
1 file changed
javascript/ql/lib/semmle/javascript/internal/UnderlyingTypes.qll
@@ -152,6 +152,13 @@ module UnderlyingTypes {
152
mod = "global"
153
)
154
or
155
+ exists(LocalTypeAccess type |
156
+ node = type and
157
+ not exists(type.getLocalTypeName()) and
158
+ name = type.getName() and
159
+ mod = "global"
160
+ )
161
+ or
162
exists(Node mid | nodeHasUnderlyingType(mid, mod, name) |
163
TypeFlow::step(mid, node)
164
0 commit comments