Files
DefinitelyTyped/circular-json/index.d.ts
2016-04-27 21:30:22 -07:00

15 lines
546 B
TypeScript

// Type definitions for circular-json v0.1.6
// Project: https://github.com/WebReflection/circular-json
// Definitions by: Jonathan Pevarnek <https://github.com/jpevarnek/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface ICircularJSON extends JSON {
parse(text: string, reviver?: (key: any, value: any) => any): any;
stringify(value: any, replacer?: ((key: string, value: any) => any) | any[], space?: any, placeholder?: boolean): string;
}
declare var CircularJSON: ICircularJSON;
export = CircularJSON;