mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Enable array string type path in route config (#38429)
This commit is contained in:
parent
562214ee84
commit
dbad61db92
2
types/react-router-config/index.d.ts
vendored
2
types/react-router-config/index.d.ts
vendored
@ -19,7 +19,7 @@ export interface RouteConfig {
|
||||
key?: React.Key;
|
||||
location?: Location;
|
||||
component?: React.ComponentType<RouteConfigComponentProps<any>> | React.ComponentType;
|
||||
path?: string;
|
||||
path?: string | string[];
|
||||
exact?: boolean;
|
||||
strict?: boolean;
|
||||
routes?: RouteConfig[];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user