@rushstack/heft
Version:
Build all your JavaScript projects the same way: A way that works.
19 lines • 573 B
TypeScript
import type { ITerminal } from '@rushstack/terminal';
import type { IScopedLogger } from './ScopedLogger';
/**
* Implementation of IScopedLogger for use by unit tests.
*
* @internal
*/
export declare class MockScopedLogger implements IScopedLogger {
errors: Error[];
warnings: Error[];
loggerName: string;
terminal: ITerminal;
constructor(terminal: ITerminal);
get hasErrors(): boolean;
emitError(error: Error): void;
emitWarning(warning: Error): void;
resetErrorsAndWarnings(): void;
}
//# sourceMappingURL=MockScopedLogger.d.ts.map