Is @types/react 18 compatible with React 17?
Issues Detected
@types/react@18.2.0 has issues with React 17.0.2
@types/react@18.2.0 does not match react@17.0.2. Type definitions should match the major version of the package they type.
Check Details
Framework
⚛️ React17.0.2
Package
@types/react@18.2.0
Conflict typecompatibility-conflict
FixUpdate @types/react to version 17.0.90
Suggested
17.0.90Verified 3d ago1 check
FAQ
There are compatibility issues between @types/react@18.2.0 and React 17.0.2. @types/react@18.2.0 does not match react@17.0.2. Type definitions should match the major version of the package they type.
Analyze Your Full package.json
Upload your package.json and get a complete compatibility report for all your dependencies at once.
Related Checks
Similar package combinations
Try Another Check
Check another package combination instantly
1