From dbad61db92c4340e05c4a9eb6592c42c000ca4a1 Mon Sep 17 00:00:00 2001 From: godsenal Date: Tue, 24 Sep 2019 02:24:32 +0900 Subject: [PATCH] Enable array string type path in route config (#38429) --- types/react-router-config/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-router-config/index.d.ts b/types/react-router-config/index.d.ts index 0dd82c8b8c..405919ad63 100644 --- a/types/react-router-config/index.d.ts +++ b/types/react-router-config/index.d.ts @@ -19,7 +19,7 @@ export interface RouteConfig { key?: React.Key; location?: Location; component?: React.ComponentType> | React.ComponentType; - path?: string; + path?: string | string[]; exact?: boolean; strict?: boolean; routes?: RouteConfig[];