ezolenko 80a42b63fa - fix for type definitions eating memory in watch mode
- publishing type definitions
2017-05-29 22:41:44 -06:00

21 lines
649 B
TypeScript

import { IRollupContext } from "./context";
import { ICode } from "./tscache";
export interface IOptions {
include: string;
exclude: string;
check: boolean;
verbosity: number;
clean: boolean;
cacheRoot: string;
abortOnError: boolean;
rollupCommonJSResolveHack: boolean;
}
export default function typescript(options: IOptions): {
options(config: any): void;
resolveId(importee: string, importer: string): string | null;
load(id: string): string | undefined;
transform(this: IRollupContext, code: string, id: string): ICode | undefined;
ongenerate(bundleOptions: any): void;
onwrite(): void;
};