You are reading the docs for 0.9. The latest version is 0.10. Read this page for 0.10 →

EncodeOptions

interface
serialize/codec.ts:182

Options for encodeState.

Properties

NameTypeDescription
maxNodes?numberMaximum number of nodes to encode. Beyond it, subtrees are replaced by a truncation marker.
sanitize?(path: string, value: unknown) => unknownRedacts a value before it leaves the process.