npm install --save @types/parse-json
This package contains type definitions for parse-json (https://github.com/sindresorhus/parse-json).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-json.
````ts declare function parseJson(input: string | null, filepath?: string): any; declare function parseJson(input: string | null, reviver: (key: any, value: any) => any, filepath?: string): any;
export = parseJson;
````
These definitions were written by mrmlnc.