From cd62037a21c1a5e0a6758a5313d143577bfe0da4 Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Wed, 22 Oct 2025 22:35:03 +0200 Subject: [PATCH] fix: add missing documentation for `indent` option --- src/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types.ts b/src/types.ts index 2fef3c5..a3f4cb6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -10,6 +10,10 @@ export type JsonValue = JsonPrimitive | JsonObject | JsonArray // #region Encoder options export interface EncodeOptions { + /** + * Number of spaces per indentation level. + * @default 2 + */ indent?: number /** * Delimiter to use for tabular array rows and inline primitive arrays.