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.