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

1.6.2 • Public • Published

Installation

npm install --save @types/json-fixer

Summary

This package contains type definitions for json-fixer (https://github.com/Berkmann18/json-fixer).

Details

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

index.d.ts

type JsonFixerDataReturnValue = string | { [k: string]: any };

interface FixJsonOptions {
    verbose?: boolean;
    parse?: boolean;
}

interface CheckJsonResult {
    data: JsonFixerDataReturnValue;
    changed: boolean;
}

declare function checkJson(data: string, options?: FixJsonOptions | boolean): CheckJsonResult;

export = checkJson;

Additional Details

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

Credits

These definitions were written by zbone3.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/json-fixer

Weekly Downloads

328

Version

1.6.2

License

MIT

Unpacked Size

3.21 kB

Total Files

5

Last publish

Collaborators

  • types