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

1.6.3 • Public • Published

Installation

npm install --save @types/jsonlint

Summary

This package contains type definitions for jsonlint (https://github.com/zaach/jsonlint).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonlint.

index.d.ts

/**
 * Parse a JSON string to Typescript Object. If there is an error will print it
 * as human readible.
 *
 * Please use `import * as jsonlint from 'jsonlint';`. Instead of,
 * `import {parse} from 'jsonlint';`. Otherwise, it cannot reference to the
 * correct instance.
 */
export function parse(str: string): Record<string, unknown>;

Additional Details

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

Credits

These definitions were written by Timmatt Lee.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jsonlint

Weekly Downloads

3,123

Version

1.6.3

License

MIT

Unpacked Size

3.2 kB

Total Files

5

Last publish

Collaborators

  • types