gulp-typescript
Version:
A typescript compiler for gulp with incremental compilation support.
22 lines (21 loc) • 651 B
TypeScript
/// <reference types="node" />
import * as ts from 'typescript';
export declare type FinalTransformers = undefined | ((program?: ts.Program) => ts.CustomTransformers);
export declare type GetCustomTransformers = string | ((program?: ts.Program) => ts.CustomTransformers | undefined);
export interface TsConfig {
files?: string[];
include?: string[];
exclude?: string[];
compilerOptions?: any;
}
export interface VinylFile {
contents: Buffer | NodeJS.ReadableStream | null;
cwd: string;
base: string;
path: string;
dirname: string;
basename: string;
stem: string;
extname: string;
sourceMap?: any;
}