# TypeScript: error TS2741: Property 'email' is missing in type '{ name: string; }' but required in type 'User'.

**Code:** `TS2741: Property is missing in type but required in type` · **Category:** TypeScript · **Seen on:** TypeScript, React

An object lacks one required property of the target type.

## Meaning

Same family as TS2740 (single missing property). Supply the property, mark it optional, or use a utility type for partial shapes. React props: pass all required props or make them optional in the props interface.

## Common causes

- Required property not provided
- React component missing a required prop
- Model changed with a new required field
- Partial form data typed as full model
- Wrong type annotation

## Quick fix

1. Add the property or make it optional (`email?: string`)
2. Create a props/DTO type matching reality
3. Use `Partial`/`Pick`

## Detailed fix by platform

### TypeScript

1. `interface Props { title: string; subtitle?: string }`

## How to diagnose

1. **Property** — Missing which?
2. **Props** — Required?
3. **Type** — Right?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/typescript/ts2741-property-is-missing-in-type-but-required-in-type)
