@tempest/core
Version:
The core of the Tempest Stream Library
27 lines (23 loc) • 914 B
TypeScript
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/power-assert-formatter/power-assert-formatter.d.ts
declare function powerAssertFormatter(options?:powerAssertFormatter.Options):powerAssertFormatter.Formatter;
declare namespace powerAssertFormatter {
export interface Options {
lineDiffThreshold?: number;
maxDepth?: number;
outputOffset?: number;
anonymous?: string;
circular?: string;
lineSeparator?: string;
ambiguousEastAsianCharWidth?: number;
widthOf?: Function;
stringify?: Function;
diff?: Function;
writerClass?: {new (): any;};
renderers?: any[]; // { string | Function }[]
}
export interface Formatter {
(powerAssertContext:any): string;
}
export function defaultOptions():Options;
}