@angular-devkit/architect-cli
Version:
Angular Architect CLI
24 lines (23 loc) • 702 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export declare class MultiProgressBar<Key, T> {
private _status;
private _stream;
private _bars;
constructor(_status: string, _stream?: NodeJS.WriteStream & {
fd: 2;
});
private _add;
complete(id: Key): void;
add(id: Key, data: T): void;
get(key: Key): T | undefined;
has(key: Key): boolean;
update(key: Key, data: T, current?: number, total?: number): void;
render(max?: number, sort?: (a: T, b: T) => number): void;
terminate(): void;
}