File size: 655 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 };