12 lines
367 B
TypeScript
12 lines
367 B
TypeScript
|
import { ToString } from "./types";
|
||
|
export interface Options {
|
||
|
maxDepth?: number;
|
||
|
maxValues?: number;
|
||
|
references?: boolean;
|
||
|
skipUndefinedProperties?: boolean;
|
||
|
}
|
||
|
/**
|
||
|
* Stringify any JavaScript value.
|
||
|
*/
|
||
|
export declare function stringify(value: any, replacer?: ToString | null, indent?: string | number | null, options?: Options): string | undefined;
|