From 33f169beb90814b7f2f62a8c0e3990722ae3db4c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 23 Sep 2024 15:18:52 -0400 Subject: chore: add code generation for @types/deno (#25545) --- ext/url/lib.deno_url.d.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ext/url/lib.deno_url.d.ts') 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 @@ /// /** @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; } @@ -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. * -- cgit v1.2.3