We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The basic example has one of the children as:
new Redirect({ from: 'baz', to: '/foo', }),
If this is converted to TypeScript then it does not type check. The return type of Redrirect.render is ReactNode and not ResolvedElement | undefined.
Redrirect.render
ReactNode
ResolvedElement | undefined
The text was updated successfully, but these errors were encountered:
fix: include ReactNode in render method result (4Catalyzer#1061)
04777aa
fix: remove ReactNode from render method result (4Catalyzer#1061)
bafbdf4
Successfully merging a pull request may close this issue.
The basic example has one of the children as:
If this is converted to TypeScript then it does not type check. The return type of
Redrirect.render
isReactNode
and notResolvedElement | undefined
.The text was updated successfully, but these errors were encountered: