Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
24 lines
808 B
Plaintext
24 lines
808 B
Plaintext
# Installation
|
|
> `npm install --save @types/parse-json`
|
|
|
|
# Summary
|
|
This package contains type definitions for parse-json (https://github.com/sindresorhus/parse-json).
|
|
|
|
# Details
|
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-json.
|
|
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-json/index.d.ts)
|
|
````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;
|
|
|
|
````
|
|
|
|
### Additional Details
|
|
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
|
|
* Dependencies: none
|
|
|
|
# Credits
|
|
These definitions were written by [mrmlnc](https://github.com/mrmlnc).
|