UNPKG

error-to-json

Version:

Returns a JSON representation of an error (handles nested errors and calls nested toJSONs)

5 lines (4 loc) 108 B
declare module 'fast-safe-stringify' { type stringify = (json: {}) => string export default stringify }