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

Member predicate Module::resolve

Gets the file to which the import path path, which must appear in this module, resolves.

If the path resolves to a file directly, this is the result. If the path resolves to a folder containing a main module (such as index.js), then that file is the result.

File resolve(PathExpr path)