# TS1184: Modifiers cannot appear here.

> Modifiers are used where none are allowed at all, for example `static` on a method in an object literal.

## What it means

Some positions accept no modifiers. `ts-r-check` reports this, for example, on the first
modifier of an object-literal method (other than `async`), together with
[TS1042](https://ts-r.dev/errors/TS1042/) for each modifier.

## Example

```ts
export const o = { async static m() { return 1; } };
```

## How to fix

- Remove the modifiers. In object literals only `async` is allowed on methods.

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