# TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '…'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.

> `eval` or `arguments` is declared or assigned inside a class. Class bodies are strict-mode code, which forbids this. Rename it.

## What it means

Code in a class body (methods, constructors, accessors, field initialisers) always runs in
strict mode, where `eval` and `arguments` can't be used as names for variables, parameters or
functions.

## Example

```ts
export class A {
  m() {
    var arguments = 1;
  }
}
```

## How to fix

- Rename the binding, for example `args`.
- To collect all arguments, use a rest parameter: `m(...args: unknown[])`.

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