interface IRoute { key ? : number path: string component: React.ComponentType // HERE exact: boolean }