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