DefinitelyTyped/types/macaca-circular-json/index.d.ts
zivyangll 24b24fa197 add types for 'macaca-circular-json' (#36256)
* feat: add macaca-circular-json types

* doc: update info
2019-06-21 23:53:57 -07:00

8 lines
484 B
TypeScript

// Type definitions for macaca-circular-json 0.4
// Project: https://github.com/macacajs/circular-json
// Definitions by: Jonathan Pevarnek <https://github.com/jpevarnek>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function parse(text: string, reviver?: (key: any, value: any) => any): any;
export function stringify(value: any, replacer?: ((key: string, value: any) => any) | Array<number | string> | null, space?: any, placeholder?: boolean): string;