We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Options
1 parent cebeab6 commit f6c2f86Copy full SHA for f6c2f86
src/index.ts
@@ -6,7 +6,7 @@ import fs from "graceful-fs";
6
7
type MaybePromise<T> = T | Promise<T>;
8
9
-interface Options {
+type Options = PartialDeep<{
10
/** @default utf-8 */
11
encoding: BufferEncoding;
12
/**
@@ -31,7 +31,7 @@ interface Options {
31
* @default "preserve"
32
* */
33
tabSize: null | number | "preserve" | "hard";
34
-}
+}>
35
36
type GettersDeep<T extends object> = {
37
[K in keyof T]: (oldValue: T[K], json: T) => T[K]
0 commit comments