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

Member predicate TSConfig::hasPathMapping

Holds if this has a path mapping from pattern to newPath.

For example, "paths": { "@/*": "./src/*" } maps the @/* pattern to ./src/*.

Does not include path mappings from extended tsconfig files.

predicate hasPathMapping(string pattern, string newPath)