@salesforce/core
Version:
Core libraries to interact with SFDX projects, orgs, and APIs.
10 lines (9 loc) • 326 B
TypeScript
import { Writable } from 'node:stream';
/**
* Used by test setup to keep UT from writing to disk.
*/
export declare class MemoryLogger extends Writable {
loggedData: Array<Record<string, unknown>>;
constructor();
_write(chunk: Record<string, unknown>, encoding: string, callback: (err?: Error) => void): void;
}