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