diff --git a/types/index.d.ts b/types/index.d.ts index a10b638..37bca66 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -3,6 +3,8 @@ interface StringifyOptions { replacer?: (this: any, key: string, value: any) => any | null; quotes?: 'single' | 'double'; inlineArrayLimit?: number; + camelCase?: boolean; + camelCaseFn?: (str: string) => string; } export declare function chooseQuotes(str: string, preferred: 'single' | 'double' | 'backtick'): string; export declare function jsStringify(obj: any, options?: StringifyOptions): string;