1 | declare function powerAssertFormatter(options?: powerAssertFormatter.Options): powerAssertFormatter.Formatter;
|
2 |
|
3 | declare namespace powerAssertFormatter {
|
4 | export interface Options {
|
5 | lineDiffThreshold?: number | undefined;
|
6 | maxDepth?: number | undefined;
|
7 | outputOffset?: number | undefined;
|
8 | anonymous?: string | undefined;
|
9 | circular?: string | undefined;
|
10 | lineSeparator?: string | undefined;
|
11 | ambiguousEastAsianCharWidth?: number | undefined;
|
12 | widthOf?: Function | undefined;
|
13 | stringify?: Function | undefined;
|
14 | diff?: Function | undefined;
|
15 | writerClass?: { new(): any } | undefined;
|
16 | renderers?: any[] | undefined;
|
17 | }
|
18 |
|
19 | export interface Formatter {
|
20 | (powerAssertContext: any): string;
|
21 | }
|
22 |
|
23 | export function defaultOptions(): Options;
|
24 | }
|
25 |
|
26 | export = powerAssertFormatter;
|
27 | export as namespace powerAssertFormatter;
|