Skip to content

Commit

Permalink
fix children's type of interface Route (#16550)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gin-X authored and zombieJ committed May 13, 2019
1 parent 557c5c9 commit 7cdcc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/breadcrumb/Breadcrumb.tsx
Expand Up @@ -11,7 +11,7 @@ import { Omit } from '../_util/type';
export interface Route {
path: string;
breadcrumbName: string;
children: Omit<Route, 'children'>[];
children?: Omit<Route, 'children'>[];
}

export interface BreadcrumbProps {
Expand Down

0 comments on commit 7cdcc7c

Please sign in to comment.