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

Member predicate ImportTypeExpr::getPathExpr

Gets the string literal with the imported path, such as "http" in import("http").

TypeExpr getPathExpr()