# Source: https://github.com/quick-lint/quick-lint-js/blob/master/docs/errors/E0165.md

# E0165: TypeScript style const field 

`const` fields are only allowed in TypeScript, not JavaScript

```javascript
class C {
  const f = null;
} 
```

To fix this error, remove the `const` declarator from the field 

```javascript
class C {
  f = null;
} 
```

Introduced in quick-lint-js version 0.3.0.