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

Predicate signature Make::Folder::ResolveSig::rewritePathSegment

Gets an alternative path segment to try if segment did not match a child.

The motivating use-case is to map compiler-generated file names back to their sources files, for example, foo.min.js could be mapped to foo.ts.

signature string rewritePathSegment(string segment)