/** * Copyright (c) 2017-present A. Matías Quezada */ /** * A replacement for JSON.stringify. * In case you want to stringify a JSON but keep single-element arrays in a single line. * Only valid values in the object are valid JSON values. Passing different values will have unexpected result. * * @param value {Object} Object to stringify. * @param indent {String} This is used for recursivity, just ignore it. * @returns {String} The stringified object */ export default function stringify(value: any, indent?: string): string | undefined;