mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
9 lines
463 B
TypeScript
9 lines
463 B
TypeScript
// Type definitions for comment-json 1.1
|
|
// Project: https://github.com/kaelzhang/node-comment-json
|
|
// Definitions by: Jason Dent <https://github.com/Jason3S>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export type Reviver = (k: number | string, v: any) => any;
|
|
export function parse(json: string, reviver?: Reviver, removes_comments?: boolean): any;
|
|
export function stringify(value: any, replacer?: any, space?: string | number): string;
|