work.suroh.tk/node_modules/javascript-stringify/dist/index.d.ts

12 lines
367 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
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;