# TS2561: Object literal may only specify known properties, but '…' does not exist in type '…'. Did you mean to write '…'?

> An object literal has a property the target type doesn't declare, and a similar name exists. Usually a typo: use the suggested name.

## What it means

This is the excess property check ([TS2353](https://ts-r.dev/errors/TS2353/)) with a suggestion: the object literal
has a property that the target type doesn't have, and a property with a close spelling exists.

## Example

```ts
interface User {
  firstName: string;
}
export const u: User = { firstname: "Ada" };
```

## How to fix

- Use the suggested property name.
- If the property should be allowed, add it to the type.

Source: https://ts-r.dev/errors/TS2561/
