UNPKG

karma-typescript-agile-preprocessor

Version:

Leverage the power of gulp-typescript for a simple yet powerful Karma preprocessor.

22 lines (21 loc) 651 B
/// <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; }