diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-04-26 19:15:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 19:15:25 -0400 |
commit | f4e442da4d948126e1db8cbb9905c5d140d94e1d (patch) | |
tree | 7379988639489c4aded65f02a3c6c565950e2a32 /ext | |
parent | e2761df3fe2a457948948dcd38fb4f7e02cd350e (diff) |
fix(dts): `URLPatternComponentResult` groups should have possibly undefined key values (#18643)
Closes #18640
Diffstat (limited to 'ext')
-rw-r--r-- | ext/url/lib.deno_url.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/url/lib.deno_url.d.ts b/ext/url/lib.deno_url.d.ts index 1d5f84019..9a8c155d9 100644 --- a/ext/url/lib.deno_url.d.ts +++ b/ext/url/lib.deno_url.d.ts @@ -206,7 +206,7 @@ declare type URLPatternInput = string | URLPatternInit; /** @category Web APIs */ declare interface URLPatternComponentResult { input: string; - groups: Record<string, string>; + groups: Record<string, string | undefined>; } /** `URLPatternResult` is the object returned from `URLPattern.exec`. |