Skip to content

Commit cf9d612

Browse files
committed
types
1 parent 98d3742 commit cf9d612

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ interface StringifyOptions {
33
replacer?: (this: any, key: string, value: any) => any | null;
44
quotes?: 'single' | 'double';
55
inlineArrayLimit?: number;
6+
camelCase?: boolean;
7+
camelCaseFn?: (str: string) => string;
68
}
79
export declare function chooseQuotes(str: string, preferred: 'single' | 'double' | 'backtick'): string;
810
export declare function jsStringify(obj: any, options?: StringifyOptions): string;

0 commit comments

Comments
 (0)