mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
fix(dts): URLPatternComponentResult
groups should have possibly undefined key values (#18643)
Closes #18640
This commit is contained in:
parent
e2761df3fe
commit
f4e442da4d
3 changed files with 7 additions and 2 deletions
2
cli/tsc/dts/lib.dom.extras.d.ts
vendored
2
cli/tsc/dts/lib.dom.extras.d.ts
vendored
|
@ -23,7 +23,7 @@ declare type URLPatternInput = string | URLPatternInit;
|
|||
|
||||
declare interface URLPatternComponentResult {
|
||||
input: string;
|
||||
groups: Record<string, string>;
|
||||
groups: Record<string, string | undefined>;
|
||||
}
|
||||
|
||||
/** `URLPatternResult` is the object returned from `URLPattern.exec`. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue