@types/react is marked as a hard dependency and bound to 16.4. The react peer dependency is very wide so no problem there but the types issue is causing a type mismatch when using react 18