1 | import { tsModule } from "./tsproxy";
|
2 | import * as tsTypes from "typescript";
|
3 |
|
4 | export interface ICustomTransformer
|
5 | {
|
6 | before?: tsTypes.TransformerFactory<tsTypes.SourceFile>;
|
7 | after?: tsTypes.TransformerFactory<tsTypes.SourceFile>;
|
8 | }
|
9 |
|
10 | export type TransformerFactoryCreator = (ls: tsTypes.LanguageService) => tsTypes.CustomTransformers | ICustomTransformer;
|
11 |
|
12 | export interface IOptions
|
13 | {
|
14 | include: string|string[];
|
15 | exclude: string|string[];
|
16 | check: boolean;
|
17 | verbosity: number;
|
18 | clean: boolean;
|
19 | cacheRoot: string;
|
20 | abortOnError: boolean;
|
21 | rollupCommonJSResolveHack: boolean;
|
22 | tsconfig?: string;
|
23 | useTsconfigDeclarationDir: boolean;
|
24 | typescript: typeof tsModule;
|
25 | tsconfigOverride: any;
|
26 | transformers: TransformerFactoryCreator[];
|
27 | tsconfigDefaults: any;
|
28 | sourceMapCallback: (id: string, map: string) => void;
|
29 | }
|