summaryrefslogtreecommitdiff
path: root/together/node_modules/fast-safe-stringify/index.d.ts
blob: 9a9b1f00e0cf3028f63158caf8f7cffbf80dfe26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
declare function stringify(
  value: any,
  replacer?: (key: string, value: any) => any,
  space?: string | number,
  options?: { depthLimit: number | undefined; edgesLimit: number | undefined }
): string;

declare namespace stringify {
  export function stable(
    value: any,
    replacer?: (key: string, value: any) => any,
    space?: string | number,
    options?: { depthLimit: number | undefined; edgesLimit: number | undefined }
  ): string;
  export function stableStringify(
    value: any,
    replacer?: (key: string, value: any) => any,
    space?: string | number,
    options?: { depthLimit: number | undefined; edgesLimit: number | undefined }
  ): string;
}

export default stringify;