- Types:
@types/reactis 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 the React types in them becameany. 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. The same fix as react-i18next 18.0.1 (react-i18next#1948) - Tested with i18next 27.0.1 and react-i18next 18.0.1 - the dev dependencies and all examples use them. The peer ranges are unchanged.