react-keycloak-examples
react-keycloak-examples copied to clipboard
Interface 'PrivateRouteParams' incorrectly extends interface 'RouteProps'
Describe the bug
The subproject at examples/react-router fails to compile:
TypeScript error in .../react-keycloak-examples/examples/react-router/src/routes/utils.tsx(7,11):
Interface 'PrivateRouteParams' incorrectly extends interface 'RouteProps<string, { [x: string]: string | undefined; }>'.
To Reproduce Steps to reproduce the behavior:
- Clone the project from
masterBranch - Run
yarn install(yarn version 1.22.19) - Run
yarn start - See error
Expected behavior I expected the project to compile without me having to change anything (apart from the keycloak configuration)
Desktop (please complete the following information):
- OS: Linux - Ubuntu 20.04
Additional context
- node -v : v16.17.0