mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Update javascript/ql/lib/semmle/javascript/internal/TypeResolution.qll
Co-authored-by: Napalys Klicius <napalys@github.com>
This commit is contained in:
@@ -351,6 +351,10 @@ module TypeResolution {
|
||||
or
|
||||
node.(TypeExpr).isNever()
|
||||
or
|
||||
node.(TypeExpr).isBigInt()
|
||||
or
|
||||
node.(TypeExpr).isSymbol()
|
||||
or
|
||||
node instanceof LiteralTypeExpr
|
||||
or
|
||||
node = any(EnumMember m).getIdentifier() // enum members are constant
|
||||
|
||||
Reference in New Issue
Block a user