# 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:3:1

@sealed
class A
  jsdoc

  a: string


# output.json
[
  {
    "name": "A",
    "isDefault": false,
    "location": {
      "filename": "file:///mod.ts",
      "line": 3,
      "col": 0,
      "byteIndex": 21
    },
    "declarationKind": "export",
    "jsDoc": {
      "doc": "jsdoc"
    },
    "kind": "class",
    "classDef": {
      "isAbstract": false,
      "constructors": [],
      "properties": [
        {
          "tsType": {
            "repr": "string",
            "kind": "keyword",
            "keyword": "string"
          },
          "readonly": false,
          "accessibility": null,
          "optional": false,
          "isAbstract": false,
          "isStatic": false,
          "name": "a",
          "location": {
            "filename": "file:///mod.ts",
            "line": 4,
            "col": 2,
            "byteIndex": 40
          }
        }
      ],
      "indexSignatures": [],
      "methods": [],
      "extends": null,
      "implements": [],
      "typeParams": [],
      "superTypeParams": [],
      "decorators": [
        {
          "name": "sealed",
          "location": {
            "filename": "file:///mod.ts",
            "line": 2,
            "col": 1,
            "byteIndex": 14
          }
        }
      ]
    }
  }
]
