Sourced from react-i18next's changelog.
18.0.1
- fix(types): declare
@types/reactas an optional peer dependency. The type declarations import fromreact, and with pnpm's global virtual store (virtualStoreType: global) TypeScript resolved that to the untypedreact/index.js, so every React type in them becameany: wrong props compiled, callback parameters failed with TS7006. Under the default pnpm layout it only worked through pnpm's hidden hoisting. The range is*, so projects without TypeScript install nothing extra and an older@types/reactdoes not make npm fail (#1948)- requires i18next 27.0.1 or later (peer
>= 27.0.1), which keeps at most 1000 formatters in each cached format
bd80256
18.0.1fbc404c
changelog for 18.0.16f76fa2
fix(types): declare @types/react as an optional peer
dependency, require i18n...