<!--{"languageOptions": {"parserOptions": {"parser":"@typescript-eslint/parser"}}}-->
<script lang="ts">
class A {
  a;
  public b;
  protected c;
  private d;
}

class B {
  readonly a;
  readonly public b;
  protected readonly c;
}
</script>
