next.js
db008670 - Upgrade `@types/react` to latest 18.x (#48645)

Commit
3 years ago
Upgrade `@types/react` to latest 18.x (#48645) Required for https://github.com/vercel/next.js/pull/48641 [React 18 types changelog](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/56210) Revealed some bugs in `React.Children` typings that were hidden due to `{}` being part of `ReactNode` before 18.x types. The rest is mostly missing `children` props types.
Author
Parents
Loading