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