Files
Shifted/node_modules/confbox/dist/_chunks/_format.d.mts
2026-02-10 01:14:19 +00:00

25 lines
648 B
TypeScript

//#region src/_format.d.ts
interface FormatOptions {
/**
* A String or Number object that's used to insert white space into the output JSON string for readability purposes.
*
* When provided, identation won't be auto detected anymore.
*/
indent?: string | number;
/**
* Set to `false` to skip indentation preservation.
*/
preserveIndentation?: boolean;
/**
* Set to `false` to skip whitespace preservation.
*/
preserveWhitespace?: boolean;
/**
* The number of characters to sample from the start of the text.
*
* Default: 1024
*/
sampleSize?: number;
}
//#endregion
export { FormatOptions as t };