8000 Minor style tweaks to TS definition · sindresorhus/write-json-file@f08874c · GitHub
[go: up one dir, main page]

Skip to content

Commit f08874c

Browse files
committed
Minor style tweaks to TS definition
1 parent ff3ce3a commit f08874c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,26 @@ export interface Options {
99
* @default '\t'
1010
*/
1111
indent?: string | number | null;
12+
1213
/**
1314
* Detect indentation automatically if the file exists.
1415
*
1516
* @default false
1617
*/
1718
detectIndent?: boolean;
19+
1820
/**
1921
* Sort the keys recursively. Optionally pass in a compare function.
2022
*
2123
* @default false
2224
*/
2325
sortKeys?: boolean | SortKeys;
26+
2427
/**
2528
* Passed into `JSON.stringify`.
2629
*/
2730
replacer?: Replacer | Array<number | string>;
31+
2832
/**
2933
* Mode used when writing the file.
3034
*

0 commit comments

Comments
 (0)
0