Skip to content
Snippets Groups Projects
Commit ea9fcd5c authored by Yadd's avatar Yadd
Browse files

Update upstream source from tag 'upstream/1.0.2+_cs3.3.1'

Update to upstream version '1.0.2+~cs3.3.1'
with Debian dir 312d5344d5ad9a9b1537573b4237bdda1c6f3ca9
parents 8d813665 f9b588e9
No related branches found
No related tags found
No related merge requests found
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
# Installation
> `npm install --save @types/json-parse-better-errors`
# Summary
This package contains type definitions for json-parse-better-errors (https://github.com/zkat/json-parse-better-errors#readme).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-parse-better-errors
Additional Details
* Last updated: Mon, 26 Feb 2018 19:17:29 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by Daniel Rosenwasser <https://github.com/DanielRosenwasser>.
// Type definitions for json-parse-better-errors 1.0
// Project: https://github.com/zkat/json-parse-better-errors#readme
// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = json_parse_better_errors;
/**
* 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.
* @param context The number of characters to display in each direction around the position of an error.
*/
declare function json_parse_better_errors(
txt: string,
reviver?: (key: string, value: any) => any,
context?: number): any;
{
"name": "@types/json-parse-better-errors",
"version": "1.0.0",
"description": "TypeScript definitions for json-parse-better-errors",
"license": "MIT",
"contributors": [
{
"name": "Daniel Rosenwasser",
"url": "https://github.com/DanielRosenwasser",
"githubUsername": "DanielRosenwasser"
}
],
"main": "",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "fea08c6b2b24eadfbd80d9432236eb8ff661d8198618cc82df45642bec017acd",
"typeScriptVersion": "2.0"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment