PathMatch
A PathMatch contains info about how a PathPattern matched on a URL pathname.
interface PathMatch <ParamKey extends string = string> {
params: Params<ParamKey>;
pathname: string;
pathnameBase: string;
pattern: PathPattern;
}§Properties
§
pattern: PathPattern
[src]The pattern that was used to match.