Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Apr 13, 2024
1 parent 98d3742 commit cf9d612
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cf9d612

Please sign in to comment.