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

Member predicate ImportTypeExpr::isNamespaceAccess

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

predicate isNamespaceAccess()