@types/d3-fetch
Advanced tools
Comparing version 1.1.5 to 1.2.0
@@ -1,9 +0,10 @@ | ||
// Type definitions for d3-fetch 1.1 | ||
// Type definitions for d3-fetch 1.2 | ||
// Project: https://d3js.org/d3-fetch/ | ||
// Definitions by: Hugues Stefanski <https://github.com/ledragon> | ||
// denisname <https://github.com/denisname> | ||
// Nathan Bierema <https://github.com/Methuselah96> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
// Last module patch version validated against: 1.1.0 | ||
// Last module patch version validated against: 1.2.0 | ||
@@ -183,2 +184,5 @@ import { DSVParsedArray, DSVRowArray, DSVRowString } from "d3-dsv"; | ||
* | ||
* If the server returns a status code of [204 No Content](https://developer.mozilla.org/docs/Web/HTTP/Status/204) | ||
* or [205 Reset Content](https://developer.mozilla.org/docs/Web/HTTP/Status/205), the promise resolves to `undefined`. | ||
* | ||
* The generic parameter describes the type of the object parsed from the returned JSON. | ||
@@ -189,3 +193,3 @@ * | ||
*/ | ||
export function json<ParsedJSONObject extends any>(url: string, init?: RequestInit): Promise<ParsedJSONObject>; | ||
export function json<ParsedJSONObject extends any>(url: string, init?: RequestInit): Promise<ParsedJSONObject | undefined>; | ||
@@ -192,0 +196,0 @@ /** |
{ | ||
"name": "@types/d3-fetch", | ||
"version": "1.1.5", | ||
"version": "1.2.0", | ||
"description": "TypeScript definitions for d3-fetch", | ||
@@ -16,9 +16,15 @@ "license": "MIT", | ||
"githubUsername": "denisname" | ||
}, | ||
{ | ||
"name": "Nathan Bierema", | ||
"url": "https://github.com/Methuselah96", | ||
"githubUsername": "Methuselah96" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/d3-fetch" | ||
}, | ||
@@ -29,4 +35,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "63760c232deb13f95dec7986f6abade923e7de01d34cb09f7ee4f018883477f9", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "0588743c142d0778ee7099f058d30ece192b520188442722e7007b7c76a61fb6", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-fetch | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-fetch. | ||
Additional Details | ||
* Last updated: Wed, 02 Jan 2019 22:37:55 GMT | ||
* Dependencies: @types/d3-dsv | ||
### Additional Details | ||
* Last updated: Tue, 29 Sep 2020 22:21:19 GMT | ||
* Dependencies: [@types/d3-dsv](https://npmjs.com/package/@types/d3-dsv) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Hugues Stefanski <https://github.com/ledragon>, denisname <https://github.com/denisname>. | ||
These definitions were written by [Hugues Stefanski](https://github.com/ledragon), [denisname](https://github.com/denisname), and [Nathan Bierema](https://github.com/Methuselah96). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16899
270