# mod.ts
/** jsdoc */
@sealed
export class A {
  a: string = "a";
}

# diagnostics
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
 --> /mod.ts:4:3
  | 
4 |   a: string = "a";
  |   ^

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

@sealed
class A
  jsdoc

  a: string


# output.json
{
  "symbols": [
    {
      "name": "A",
      "declarations": [
        {
          "location": {
            "filename": "file:///mod.ts",
            "line": 2,
            "col": 0,
            "byteIndex": 21
          },
          "declarationKind": "export",
          "jsDoc": {
            "doc": "jsdoc"
          },
          "kind": "class",
          "def": {
            "properties": [
              {
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "value": "string"
                },
                "name": "a",
                "location": {
                  "filename": "file:///mod.ts",
                  "line": 3,
                  "col": 2,
                  "byteIndex": 40
                }
              }
            ],
            "decorators": [
              {
                "name": "sealed",
                "location": {
                  "filename": "file:///mod.ts",
                  "line": 1,
                  "col": 1,
                  "byteIndex": 14
                }
              }
            ]
          }
        }
      ]
    }
  ]
}
