import * as React from 'react'; interface routeType { path: string; component: React.ComponentType; exact?: boolean; routes?: Array | undefined; } export default routeType;