found
found copied to clipboard
Type of children does not match basic example
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.