UNPKG

458 BTypeScriptView Raw
1/// <reference types="node" />
2import * as ts from 'typescript';
3import { Readable, Writable } from 'stream';
4export interface IncrementalCompiler {
5 (token?: any): Readable & Writable;
6 src(opts?: {
7 cwd?: string;
8 base?: string;
9 }): Readable;
10}
11export declare function create(projectPath: string, existingOptions: Partial<ts.CompilerOptions>, verbose?: boolean, onError?: (message: string) => void): IncrementalCompiler;