Is @types/react 17 compatible with React 18?

Issues Detected

@types/react@17.0.0 has issues with React 18.2.0

@types/react@17.0.0 does not match react@18.2.0. Type definitions should match the major version of the package they type.

Check Details

Framework
⚛️ React18.2.0
Package
@types/react@17.0.0
Conflict typecompatibility-conflict
FixUpdate @types/react to version 18.3.27
Suggested18.3.27
Verified 3d ago1 check

FAQ

There are compatibility issues between @types/react@17.0.0 and React 18.2.0. @types/react@17.0.0 does not match react@18.2.0. 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.

Try Another Check

Check another package combination instantly

1
Is @types/react 17 compatible with React 18? | DepFixer