mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
580 B
TypeScript
16 lines
580 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
|
|
|
|
declare module 'circular-json' {
|
|
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;
|
|
}
|
|
|
|
var CircularJSON: ICircularJSON;
|
|
|
|
export = CircularJSON;
|
|
}
|