UNPKG

490 BTypeScriptView Raw
1import { CommandTrigger } from "./command.run";
2export interface UnwrappedTask {
3 patterns: string[];
4 tasks: string[];
5 i: number;
6 name: string;
7}
8export declare function getModifiedWatchContext(trigger: CommandTrigger): CommandTrigger;
9/**
10 * take the following:
11 * $ crossbow watch "*.js -> (lint) (unit)"
12 *
13 * and convert it into
14 * patterns: ["*.js"]
15 * tasks: ["lint", "unit"]
16 */
17export declare function unwrapShorthand(incoming: string, i: number): UnwrappedTask;