just-scripts
Version:
Just Stack Scripts
16 lines • 518 B
TypeScript
import * as ts from 'typescript';
import { TaskFunction } from 'just-task';
export declare type TscTaskOptions = {
[key in keyof ts.CompilerOptions]?: string | boolean | string[];
} & {
nodeArgs?: string[];
};
/**
* Returns a task that runs the TSC CLI.
*/
export declare function tscTask(options?: TscTaskOptions): TaskFunction;
/**
* Returns a task that runs the TSC CLI in watch mode.
*/
export declare function tscWatchTask(options?: TscTaskOptions): TaskFunction;
//# sourceMappingURL=tscTask.d.ts.map