@types/json-parse-helpfulerror
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/json-parse-helpfulerror

Summary

This package contains type definitions for json-parse-helpfulerror (https://github.com/smikes/json-parse-helpfulerror).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-parse-helpfulerror.

index.d.ts

/**
 * Converts a JavaScript Object Notation (JSON) string into an object.
 * @param text A valid JSON string.
 * @param reviver A function that transforms the results. This function is called for each member of the object.
 * If a member contains nested objects, the nested objects are transformed before the parent object is.
 */
export function parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Piotr Błażejewicz.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/json-parse-helpfulerror

      Weekly Downloads

      397

      Version

      1.0.3

      License

      MIT

      Unpacked Size

      3.55 kB

      Total Files

      5

      Last publish

      Collaborators

      • types