# mod.ts
export class Class {
  get a(): void {}
  set b(_v: void) {}
}

# diagnostics
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
 --> /mod.ts:1:1
  | 
1 | export class Class {
  | ^


error[missing-jsdoc]: exported symbol is missing JSDoc documentation
 --> /mod.ts:2:3
  | 
2 |   get a(): void {}
  |   ^


error[missing-jsdoc]: exported symbol is missing JSDoc documentation
 --> /mod.ts:3:3
  | 
3 |   set b(_v: void) {}
  |   ^

# output.txt
Defined in file:///mod.ts:0:1

class Class

  get a(): void
  set b(_v: void): void


# output.json
{
  "symbols": [
    {
      "name": "Class",
      "declarations": [
        {
          "location": {
            "filename": "file:///mod.ts",
            "line": 0,
            "col": 0,
            "byteIndex": 0
          },
          "declarationKind": "export",
          "kind": "class",
          "def": {
            "methods": [
              {
                "name": "a",
                "kind": "getter",
                "functionDef": {
                  "params": [],
                  "returnType": {
                    "repr": "void",
                    "kind": "keyword",
                    "value": "void"
                  },
                  "hasBody": true
                },
                "location": {
                  "filename": "file:///mod.ts",
                  "line": 1,
                  "col": 2,
                  "byteIndex": 23
                }
              },
              {
                "name": "b",
                "kind": "setter",
                "functionDef": {
                  "params": [
                    {
                      "kind": "identifier",
                      "name": "_v",
                      "optional": false,
                      "tsType": {
                        "repr": "void",
                        "kind": "keyword",
                        "value": "void"
                      }
                    }
                  ],
                  "returnType": {
                    "repr": "void",
                    "kind": "keyword",
                    "value": "void"
                  },
                  "hasBody": true
                },
                "location": {
                  "filename": "file:///mod.ts",
                  "line": 2,
                  "col": 2,
                  "byteIndex": 42
                }
              }
            ]
          }
        }
      ]
    }
  ]
}
