(value, replacer, space)
| 3 | export type StringifyErrorType = ErrorType |
| 4 | |
| 5 | export const stringify: typeof JSON.stringify = (value, replacer, space) => |
| 6 | JSON.stringify( |
| 7 | value, |
| 8 | (key, value_) => { |
| 9 | const value = typeof value_ === 'bigint' ? value_.toString() : value_ |
| 10 | return typeof replacer === 'function' ? replacer(key, value) : value |
| 11 | }, |
| 12 | space, |
| 13 | ) |
no outgoing calls
no test coverage detected