CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)
Search

Member predicate ImportTypeExpr::isVarTypeAccess

Holds if this import is used in the context of a variable type, such as let x: typeof import("fs").

predicate isVarTypeAccess()