@worker-tools/json-fetch
Advanced tools
Comparing version 2.1.0-pre.4 to 2.1.0-pre.5
@@ -6,3 +6,3 @@ { | ||
"name": "@worker-tools/json-fetch", | ||
"version": "2.1.0-pre.4", | ||
"version": "2.1.0-pre.5", | ||
"description": "A drop-in replacements for fetch, Request, and Response with first class support for JSON objects.", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
@@ -53,3 +53,3 @@ // deno-lint-ignore-file no-cond-assign | ||
constructor( | ||
body: JSONBodyInit | null, | ||
body?: JSONBodyInit | null, | ||
init?: ResponseInit, | ||
@@ -56,0 +56,0 @@ replacer?: Parameters<typeof JSON.stringify>[1], |
@@ -12,5 +12,5 @@ export declare type JSONBodyInit = BodyInit | any; | ||
static contentType: string; | ||
constructor(body: JSONBodyInit | null, init?: ResponseInit, replacer?: Parameters<typeof JSON.stringify>[1], space?: Parameters<typeof JSON.stringify>[2]); | ||
constructor(body?: JSONBodyInit | null, init?: ResponseInit, replacer?: Parameters<typeof JSON.stringify>[1], space?: Parameters<typeof JSON.stringify>[2]); | ||
} | ||
export declare function jsonFetch(...args: ConstructorParameters<typeof JSONRequest>): Promise<Response>; | ||
export * from './search-params-url.js'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22299