ObjectFormatterConfig
Configuration options for ObjectFormatter.
Properties
Section titled “Properties”maxEntries
Section titled “maxEntries”maxEntries:
number
Max number of entries to display before truncating.
showBrackets
Section titled “showBrackets”showBrackets:
boolean
Include surrounding braces { }
.
showCommas
Section titled “showCommas”showCommas:
boolean
Include commas between entries.
sortKeys()
Section titled “sortKeys()”sortKeys: (
keys
,obj
) =>string
[]
Custom key-sorting function.
Parameters
Section titled “Parameters”string
[]
Record
<string
, unknown
>
Returns
Section titled “Returns”string
[]