mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix: TypeScript 4.8 update (#16040)
This commit is contained in:
parent
4b01ef5c23
commit
4ad48d5dab
1 changed files with 2 additions and 0 deletions
2
cli/dts/lib.dom.d.ts
vendored
2
cli/dts/lib.dom.d.ts
vendored
|
@ -16,6 +16,7 @@ and limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
/// <reference no-default-lib="true"/>
|
/// <reference no-default-lib="true"/>
|
||||||
|
/// <reference lib="dom.extras" />
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
|
@ -11554,6 +11555,7 @@ interface Response extends Body {
|
||||||
declare var Response: {
|
declare var Response: {
|
||||||
prototype: Response;
|
prototype: Response;
|
||||||
new(body?: BodyInit | null, init?: ResponseInit): Response;
|
new(body?: BodyInit | null, init?: ResponseInit): Response;
|
||||||
|
json(data: unknown, init?: ResponseInit): Response;
|
||||||
error(): Response;
|
error(): Response;
|
||||||
redirect(url: string | URL, status?: number): Response;
|
redirect(url: string | URL, status?: number): Response;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue