CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.1 (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()