diff --git a/index.d.ts b/index.d.ts index 347cdd1..70cd4e1 100644 --- a/index.d.ts +++ b/index.d.ts @@ -9,6 +9,8 @@ interface UrlPatternOptions { } declare class UrlPattern { + names: string[]; + constructor(pattern: string, options?: UrlPatternOptions); constructor(pattern: RegExp, groupNames?: string[]);