UNPKG

351 BTypeScriptView Raw
1/**
2 * @name stringify
3 * @summary Performs a JSON.stringify, with BigInt handling
4 * @description A wrapper for JSON.stringify that handles BigInt values transparently, converting them to string. No differences from the native JSON.stringify function otherwise.
5 */
6export declare function stringify(value: unknown, space?: string | number): string;