e2ed
Version:
E2E testing framework over Playwright
11 lines (10 loc) • 323 B
TypeScript
import type { inspect } from 'node:util';
declare const custom: typeof inspect.custom;
/**
* `String` object for logs, with `toJSON` and `inspect.custom` methods.
*/
export type StringForLogs = Readonly<{
[custom]: (this: StringForLogs) => string;
toJSON: (this: StringForLogs) => string;
}> & String;
export {};