From 7cdcc7cc2fdc221dfeff6418a28d6992fb22d6aa Mon Sep 17 00:00:00 2001 From: Gin-X Date: Mon, 13 May 2019 17:54:18 +0800 Subject: [PATCH] fix children's type of interface Route (#16550) --- components/breadcrumb/Breadcrumb.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/breadcrumb/Breadcrumb.tsx b/components/breadcrumb/Breadcrumb.tsx index 2748804a4a87..3b114a90d9ef 100755 --- a/components/breadcrumb/Breadcrumb.tsx +++ b/components/breadcrumb/Breadcrumb.tsx @@ -11,7 +11,7 @@ import { Omit } from '../_util/type'; export interface Route { path: string; breadcrumbName: string; - children: Omit[]; + children?: Omit[]; } export interface BreadcrumbProps {