aws-cdk
Version:
CDK Toolkit, the command line tool for CDK apps
19 lines (18 loc) • 496 B
TypeScript
export type Output = ReadonlyArray<string>;
export interface Options {
isTTY?: boolean;
}
export interface Inspector {
output: Output;
restore: () => void;
}
declare class ConsoleListener {
private _stream;
private _options?;
constructor(stream: NodeJS.WriteStream, options?: Options);
inspect(): Inspector;
inspectSync(fn: (output: Output) => void): Output;
}
export declare const stdout: ConsoleListener;
export declare const stderr: ConsoleListener;
export {};