We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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