UNPKG

@tscc/tscc

Version:

A typescript transpiler and bundler that wires up tsickle and closure compiler seamlessly

15 lines (14 loc) 550 B
/** * Attach a spinner that sticks at the bottom of the stream, * indicating that a task is running. */ export declare function startTask(text: string): void; export declare function succeed(text?: string): void; export declare function fail(text?: string): void; /** * Even if a task might have ended (via succeed or fail) the spinner will * still stick at the bottom. After calling this method, all subsequent * writes will happen below the spinner. */ export declare function unstick(): void; export declare function hasSpinner(): boolean;