UrlMatchResult
表示 URL 匹配的结果。
Represents the results of the URL matching.
type UrlMatchResult = {
consumed: UrlSegment[];
posParams?: {
[name: string]: UrlSegment;
};
};
说明
consumed是一个已消费的 URL 区段的数组。consumedis an array of the consumed URL segments.posParams是位置参数的映射表。posParamsis a map of positional parameters.