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

Member predicate ImportTypeExpr::isTypeAccess

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

predicate isTypeAccess()