Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
25 lines
655 B
TypeScript
25 lines
655 B
TypeScript
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;
|
|
}
|
|
|
|
export type { FormatOptions as F };
|