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

Member predicate Require::getImportedFile

Gets the file that is imported by this require.

The result can be a JavaScript file, a JSON file or a .node file. Externs files are not treated differently from other files by this predicate.

File getImportedFile()