Open steinybot opened 7 months ago
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 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
.