Skip to content

Type Alias: RouteLike ​

ts
type RouteLike = {
[key: string]: unknown;
  children?: RouteLike[];
  path?: string;
};

A route-like object with optional path and children. 类路由对象。

Since ​

1.3.0

Indexable ​

ts
[key: string]: unknown

Properties ​

PropertyType
children?RouteLike[]
path?string

Released under the MIT License.