UNPKG

tsc-alias

Version:

Replace alias paths with relative paths after typescript compilation.

9 lines (8 loc) 582 B
import { AliasReplacer, AliasReplacerArguments, IConfig, IOutput, IProjectConfig, ReplaceTscAliasPathsOptions } from './interfaces'; export { ReplaceTscAliasPathsOptions, AliasReplacer, AliasReplacerArguments, IConfig, IProjectConfig, IOutput }; export declare function replaceTscAliasPaths(options?: ReplaceTscAliasPathsOptions): Promise<void>; export type SingleFileReplacer = (input: { fileContents: string; filePath: string; }) => string; export declare function prepareSingleFileReplaceTscAliasPaths(options?: ReplaceTscAliasPathsOptions): Promise<SingleFileReplacer>;