Skip to content

Commit

Permalink
fix: fix type error (#2474)
Browse files Browse the repository at this point in the history
  • Loading branch information
binyellow authored Aug 30, 2023
1 parent 7dc5d3a commit 02e0302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/breadcrumb/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface TdBreadcrumbItemProps {
/**
* 路由跳转目标,当且仅当 Router 存在时,该 API 有效
*/
to?: Route;
to?: Route | string;
}

export interface Route {
Expand Down

0 comments on commit 02e0302

Please sign in to comment.