mirror of
https://github.com/denoland/deno.git
synced 2025-03-09 21:57:40 -04:00
fmt
This commit is contained in:
parent
0c4a02b61d
commit
e8a2b7ebd7
1 changed files with 8 additions and 8 deletions
16
ext/url/lib.deno_url.d.ts
vendored
16
ext/url/lib.deno_url.d.ts
vendored
|
@ -5,11 +5,11 @@
|
|||
/// <reference no-default-lib="true" />
|
||||
/// <reference lib="esnext" />
|
||||
|
||||
/** Defines utility methods to work with the
|
||||
* query string of a URL. An object implementing URLSearchParams can directly
|
||||
* be used in a `for...of` structure to iterate over key/value pairs in the
|
||||
* same order as they appear in the query string
|
||||
*
|
||||
/** Defines utility methods to work with the
|
||||
* query string of a URL. An object implementing URLSearchParams can directly
|
||||
* be used in a `for...of` structure to iterate over key/value pairs in the
|
||||
* same order as they appear in the query string
|
||||
*
|
||||
* @category URL
|
||||
*/
|
||||
declare interface URLSearchParams {
|
||||
|
@ -166,7 +166,7 @@ declare interface URLSearchParams {
|
|||
/** @category URL */
|
||||
declare var URLSearchParams: {
|
||||
readonly prototype: URLSearchParams;
|
||||
new(
|
||||
new (
|
||||
init?: Iterable<string[]> | Record<string, string> | string,
|
||||
): URLSearchParams;
|
||||
};
|
||||
|
@ -200,7 +200,7 @@ declare interface URL {
|
|||
*/
|
||||
declare var URL: {
|
||||
readonly prototype: URL;
|
||||
new(url: string | URL, base?: string | URL): URL;
|
||||
new (url: string | URL, base?: string | URL): URL;
|
||||
parse(url: string | URL, base?: string | URL): URL | null;
|
||||
canParse(url: string | URL, base?: string | URL): boolean;
|
||||
createObjectURL(blob: Blob): string;
|
||||
|
@ -383,5 +383,5 @@ declare interface URLPattern {
|
|||
*/
|
||||
declare var URLPattern: {
|
||||
readonly prototype: URLPattern;
|
||||
new(input: URLPatternInput, baseURL?: string): URLPattern;
|
||||
new (input: URLPatternInput, baseURL?: string): URLPattern;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue