填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

UrlMatchResult

表示使用自定义匹配函数时的 URL 匹配结果。

Represents the result of matching URLs with a custom matching function.

查看"说明"...

      
      type UrlMatchResult = {
    consumed: UrlSegment[];
    posParams?: {
        [name: string]: UrlSegment;
    };
};
    

参见

说明

  • consumed 是一个表示已消费的 URL 片段的数组。

    consumed is an array of the consumed URL segments.

  • posParams 是一个位置型参数的映射表。

    posParams is a map of positional parameters.