Closed Eusebiotrigo closed 1 year ago
It was working fine till the last update from @types/react till this PR was merged in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/66723
Error is:
TS2322: Type Element is not assignable to type ReactNode Property children is missing in type Element but required in type ReactPortal
Tested with the example in the Readme.md and results with the same error.
However, it could potentially be fixed with
yarn why @types/react yarn dedupe @types/react
It was working fine till the last update from @types/react till this PR was merged in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/66723
Error is:
Tested with the example in the Readme.md and results with the same error.