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.