Permalink
Cannot retrieve contributors at this time
17 lines (17 sloc)
648 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/tsconfig-paths/lib/mapping-entry.d.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface MappingEntry { | |
readonly pattern: string; | |
readonly paths: ReadonlyArray<string>; | |
} | |
export interface Paths { | |
readonly [key: string]: ReadonlyArray<string>; | |
} | |
/** | |
* Converts an absolute baseUrl and paths to an array of absolute mapping entries. | |
* The array is sorted by longest prefix. | |
* Having an array with entries allows us to keep a sorting order rather than | |
* sort by keys each time we use the mappings. | |
* @param absoluteBaseUrl | |
* @param paths | |
* @param addMatchAll | |
*/ | |
export declare function getAbsoluteMappingEntries(absoluteBaseUrl: string, paths: Paths, addMatchAll: boolean): ReadonlyArray<MappingEntry>; |