cd8f34915e3830a0f56268ec7bfaa89b940efee7ae5412602028c26a1c3dcffe893a27a5665a5bb1bca91daafd0cac8ebc7573a77e974f06f83d7c7527a484 808 B

1234567891011121314151617181920212223
  1. # Installation
  2. > `npm install --save @types/parse-json`
  3. # Summary
  4. This package contains type definitions for parse-json (https://github.com/sindresorhus/parse-json).
  5. # Details
  6. Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-json.
  7. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-json/index.d.ts)
  8. ````ts
  9. declare function parseJson(input: string | null, filepath?: string): any;
  10. declare function parseJson(input: string | null, reviver: (key: any, value: any) => any, filepath?: string): any;
  11. export = parseJson;
  12. ````
  13. ### Additional Details
  14. * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  15. * Dependencies: none
  16. # Credits
  17. These definitions were written by [mrmlnc](https://github.com/mrmlnc).