mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
9e6cd91014
This commit aligns the `fetch` API and the `Request` / `Response` classes belonging to it to the spec. This commit enables all the relevant `fetch` WPT tests. Spec compliance is now at around 90%. Performance is essentially identical now (within 1% of 1.9.0).
14 lines
381 B
TypeScript
14 lines
381 B
TypeScript
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
/// <reference no-default-lib="true" />
|
|
/// <reference lib="esnext" />
|
|
|
|
declare namespace globalThis {
|
|
declare namespace __bootstrap {
|
|
declare var url: {
|
|
URL: typeof URL;
|
|
URLSearchParams: typeof URLSearchParams;
|
|
parseUrlEncoded(bytes: Uint8Array): [string, string][];
|
|
};
|
|
}
|
|
}
|