UNPKG

ts-transform-paths

Version:

[![travis](https://badgen.net/travis/OniVe/ts-transform-paths)](https://travis-ci.com/OniVe/ts-transform-paths) [![npm-version](https://badgen.net/npm/v/ts-transform-paths)](https://www.npmjs.com/package/ts-transform-paths) [![npm-downloads](https://badge

19 lines (18 loc) 571 B
import * as ts from "typescript"; declare class ProjectOptions { readonly baseUrl: string; readonly outDir: string; private aliases; private paths; constructor(compilerOptions: ts.CompilerOptions); getMapping(requestedModule: string): string | null; private processMappings; } export default class AliasResolver { readonly srcPath: string; readonly outPath: string; readonly options: ProjectOptions; constructor(compilerOptions: ts.CompilerOptions); resolve(fileName: string, requestedModule: string): string; } export {};