2022-10-31
Below is the change introduced in this compatibility date:
===================================================================
--- 2022-08-04
+++ 2022-10-31
@@ -1619,11 +1619,11 @@
fromTrace(item: TraceItem): TraceMetrics;
}
declare class URL {
constructor(url: string | URL, base?: string | URL);
+ get origin(): string;
get href(): string;
set href(value: string);
- get origin(): string;
get protocol(): string;
set protocol(value: string);
get username(): string;
set username(value: string);
@@ -1638,21 +1638,17 @@
get pathname(): string;
set pathname(value: string);
get search(): string;
set search(value: string);
- get searchParams(): URLSearchParams;
get hash(): string;
set hash(value: string);
+ get searchParams(): URLSearchParams;
+ toJSON(): string;
toString(): string;
- toJSON(): string;
}
declare class URLSearchParams {
constructor(
- init?:
- | URLSearchParams
- | string
- | Record<string, string>
- | [key: string, value: string][]
+ init?: Iterable<Iterable<string>> | Record<string, string> | string
);
append(name: string, value: string): void;
delete(name: string): void;
get(name: string): string | null;