From cf9d6122e246b773309763ff749b71dd0a45f084 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 13 Apr 2024 05:40:12 -0700 Subject: [PATCH] types --- types/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) 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;