Update javascript/ql/lib/semmle/javascript/internal/TypeResolution.qll

Co-authored-by: Napalys Klicius <napalys@github.com>
This commit is contained in:
Asger F
2025-06-04 10:17:25 +02:00
committed by GitHub
parent d644f80921
commit 853ba49212

View File

@@ -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