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

Member predicate TypeRootFolder::getModuleFile

Gets the d.ts file correspnding to the given module name.

Concretely, this is the file at node_modules/@types/<moduleName>/index.d.ts if it exists.

File getModuleFile(string moduleName)