UNPKG

ts-patch

Version:

Patch typescript to support custom transformers in tsconfig.json

14 lines (13 loc) 388 B
import { Logger } from '../system'; import { TsModule } from '../module'; export interface GetPatchedSourceOptions { log?: Logger; skipCache?: boolean; skipDts?: boolean; libraryName?: string; } export declare function getPatchedSource(tsModule: TsModule, options?: GetPatchedSourceOptions): { js: string; dts: string | undefined; loadedFromCache: boolean; };