diff options
Diffstat (limited to 'ext/url')
-rw-r--r-- | ext/url/lib.deno_url.d.ts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/url/lib.deno_url.d.ts b/ext/url/lib.deno_url.d.ts index 0ade8c85a..ca5b00e60 100644 --- a/ext/url/lib.deno_url.d.ts +++ b/ext/url/lib.deno_url.d.ts @@ -5,7 +5,7 @@ /// <reference no-default-lib="true" /> /// <reference lib="esnext" /> -/** @category Web APIs */ +/** @category URL */ declare interface URLSearchParams { /** Appends a specified key/value pair as a new search parameter. * @@ -157,7 +157,7 @@ declare interface URLSearchParams { size: number; } -/** @category Web APIs */ +/** @category URL */ declare var URLSearchParams: { readonly prototype: URLSearchParams; new ( @@ -168,7 +168,7 @@ declare var URLSearchParams: { /** The URL interface represents an object providing static methods used for * creating object URLs. * - * @category Web APIs + * @category URL */ declare interface URL { hash: string; @@ -190,7 +190,7 @@ declare interface URL { /** The URL interface represents an object providing static methods used for * creating object URLs. * - * @category Web APIs + * @category URL */ declare var URL: { readonly prototype: URL; @@ -201,7 +201,7 @@ declare var URL: { revokeObjectURL(url: string): void; }; -/** @category Web APIs */ +/** @category URL */ declare interface URLPatternInit { protocol?: string; username?: string; @@ -214,10 +214,10 @@ declare interface URLPatternInit { baseURL?: string; } -/** @category Web APIs */ +/** @category URL */ declare type URLPatternInput = string | URLPatternInit; -/** @category Web APIs */ +/** @category URL */ declare interface URLPatternComponentResult { input: string; groups: Record<string, string | undefined>; @@ -225,7 +225,7 @@ declare interface URLPatternComponentResult { /** `URLPatternResult` is the object returned from `URLPattern.exec`. * - * @category Web APIs + * @category URL */ declare interface URLPatternResult { /** The inputs provided when matching. */ @@ -277,7 +277,7 @@ declare interface URLPatternResult { * console.log(pattern.test("https://blog.example.com/article/123")); // true * ``` * - * @category Web APIs + * @category URL */ declare interface URLPattern { /** @@ -373,7 +373,7 @@ declare interface URLPattern { * console.log(pattern.test("https://blog.example.com/article/123")); // true * ``` * - * @category Web APIs + * @category URL */ declare var URLPattern: { readonly prototype: URLPattern; |