@types/node-fetch
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -5,2 +5,3 @@ // Type definitions for node-fetch 2.1 | ||
// Niklas Lindgren <https://github.com/nikcorg> | ||
// Vinay Bedre <https://github.com/vinaybedre> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -172,5 +173,11 @@ | ||
export default function fetch( | ||
declare function fetch( | ||
url: string | Request, | ||
init?: RequestInit | ||
): Promise<Response>; | ||
declare namespace fetch { | ||
function isRedirect(code: number): boolean; | ||
} | ||
export default fetch; |
{ | ||
"name": "@types/node-fetch", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "TypeScript definitions for node-fetch", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "nikcorg" | ||
}, | ||
{ | ||
"name": "Vinay Bedre", | ||
"url": "https://github.com/vinaybedre", | ||
"githubUsername": "vinaybedre" | ||
} | ||
@@ -29,4 +34,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "55c865f3adfba520a78251e3d74955b8e9b2fb47a27d152f58aedea1b09806fe", | ||
"typesPublisherContentHash": "ea851fa7411f9a258f077f40cc94861adebb538480c2ee76583a756f73aa8f18", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for node-fetch (https://github.com/bitinn/node-fetch). | ||
This package contains type definitions for node-fetch ( https://github.com/bitinn/node-fetch ). | ||
@@ -12,7 +12,7 @@ # Details | ||
Additional Details | ||
* Last updated: Mon, 19 Nov 2018 00:57:49 GMT | ||
* Dependencies: node | ||
* Last updated: Wed, 30 Jan 2019 21:06:29 GMT | ||
* Dependencies: @types/node | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Torsten Werner <https://github.com/torstenwerner>, Niklas Lindgren <https://github.com/nikcorg>. | ||
These definitions were written by Torsten Werner <https://github.com/torstenwerner>, Niklas Lindgren <https://github.com/nikcorg>, Vinay Bedre <https://github.com/vinaybedre>. |
7600
160