index.d.ts 367 B

1234567891011
  1. import { ToString } from "./types";
  2. export interface Options {
  3. maxDepth?: number;
  4. maxValues?: number;
  5. references?: boolean;
  6. skipUndefinedProperties?: boolean;
  7. }
  8. /**
  9. * Stringify any JavaScript value.
  10. */
  11. export declare function stringify(value: any, replacer?: ToString | null, indent?: string | number | null, options?: Options): string | undefined;