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