1 | import ts from "typescript";
|
2 | import { TsTransformPathsConfig } from "./types";
|
3 | import { TransformerExtras } from "ts-patch";
|
4 | export default function transformer(program?: ts.Program, pluginConfig?: TsTransformPathsConfig, transformerExtras?: TransformerExtras,
|
5 | /**
|
6 | * Supply if manually transforming with compiler API via 'transformNodes' / 'transformModule'
|
7 | */
|
8 | manualTransformOptions?: {
|
9 | compilerOptions?: ts.CompilerOptions;
|
10 | fileNames?: string[];
|
11 | }): (transformationContext: ts.TransformationContext) => (sourceFile: ts.SourceFile) => ts.SourceFile;
|