UNPKG

resolve-tspaths

Version:

Transform path mappings in your compiled Typescript code

8 lines (7 loc) 208 B
import type { Alias } from "../types"; /** * Compute the alias paths provided by the tsconfig. */ export declare function computeAliases(basePath: string, paths: { [key: string]: string[]; }): Alias[];