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

Member predicate ImportDeclaration::getEnclosingModule

Gets the module in which this import appears.

ES2015Module getEnclosingModule()