Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Route.component does not have any construct or call signatures - React Router with TypeScript

interface IRoute {
   key ? : number
   path: string
   component: React.ComponentType // HERE
   exact: boolean
}
Source by pretagteam.com #
 
PREVIOUS NEXT
Tagged: #construct #call #signatures #React #Router #TypeScript
ADD COMMENT
Topic
Name
9+1 =