Updated routeconfig type
This commit is contained in:
4
src/app/types/route.d.ts
vendored
4
src/app/types/route.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
interface RouteConfig {
|
||||
path: String
|
||||
class: String
|
||||
class?: String
|
||||
element: String | JSX.Element | null
|
||||
children?: RouteConfig[]
|
||||
children?: Array<RouteConfig>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user