diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-23 15:18:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 19:18:52 +0000 |
commit | 33f169beb90814b7f2f62a8c0e3990722ae3db4c (patch) | |
tree | 9877fb3b7dcbfd4482afc530467c072e38601f55 /ext/url | |
parent | e1c8d2755e23182875b8fefeb558e603dd981418 (diff) |
chore: add code generation for @types/deno (#25545)
Diffstat (limited to 'ext/url')
-rw-r--r-- | ext/url/lib.deno_url.d.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/url/lib.deno_url.d.ts b/ext/url/lib.deno_url.d.ts index 71a781636..946c70607 100644 --- a/ext/url/lib.deno_url.d.ts +++ b/ext/url/lib.deno_url.d.ts @@ -6,7 +6,7 @@ /// <reference lib="esnext" /> /** @category URL */ -declare interface URLSearchParams { +interface URLSearchParams { /** Appends a specified key/value pair as a new search parameter. * * ```ts @@ -170,7 +170,7 @@ declare var URLSearchParams: { * * @category URL */ -declare interface URL { +interface URL { hash: string; host: string; hostname: string; @@ -202,7 +202,7 @@ declare var URL: { }; /** @category URL */ -declare interface URLPatternInit { +interface URLPatternInit { protocol?: string; username?: string; password?: string; @@ -215,10 +215,10 @@ declare interface URLPatternInit { } /** @category URL */ -declare type URLPatternInput = string | URLPatternInit; +type URLPatternInput = string | URLPatternInit; /** @category URL */ -declare interface URLPatternComponentResult { +interface URLPatternComponentResult { input: string; groups: Record<string, string | undefined>; } @@ -227,7 +227,7 @@ declare interface URLPatternComponentResult { * * @category URL */ -declare interface URLPatternResult { +interface URLPatternResult { /** The inputs provided when matching. */ inputs: [URLPatternInit] | [URLPatternInit, string]; @@ -254,7 +254,7 @@ declare interface URLPatternResult { * * @category URL */ -declare interface URLPatternOptions { +interface URLPatternOptions { /** * Enables case-insensitive matching. * @@ -293,7 +293,7 @@ declare interface URLPatternOptions { * * @category URL */ -declare interface URLPattern { +interface URLPattern { /** * Test if the given input matches the stored pattern. * |