Error AtlasError Documentation and Resolution

Types of property are incompatible

Types of property '{0}' are incompatible.

TypeScript compared two object types and found that a property with the same name has incompatible types between them.

TS2326build
Types of property '{0}' are incompatible.
  • Two related types define the same property with incompatible value types.
  • An object assignment or interface extension introduces a conflicting property definition.
  • A refactor changed one side of a shared contract without updating the other.
  1. Make the property types consistent across both object shapes.
  2. Review interface extension, implementation, or assignment paths for conflicting declarations.
  3. Use a union or separate type only if the design intentionally permits multiple property shapes.
TypeScript Handbook: Type Compatibility
TS2326 Types of property are incompatible: causes and fixes | Error Atlas