# mod.ts
const s: symbol = Symbol.for("s");
const t: symbol = Symbol.for("t");

export const a = {
  a: "a",
  b: new Map<string, number>(),
  c: { d: "d" },
  d(e: string): void {},
  f: (g: string): void => {},
  get h(): string {
    return "h";
  },
  set h(value: string) {

  },
  [s]: [1, 2, 3, "a"],
  [t](u: string): void {},
};

# diagnostics
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
 --> /mod.ts:4:14
  | 
4 | export const a = {
  |              ^

# output.txt
Defined in file:///mod.ts:4:14

const a: { d(e: string): void; h(): string; h(value: string); [[t]](u: string): void; a: string; b: Map<string, number>; c: { d: string; }; f: (g: string) => void; [[s]]: (number | string)[]; }


# output.json
[
  {
    "name": "a",
    "isDefault": false,
    "location": {
      "filename": "file:///mod.ts",
      "line": 4,
      "col": 13,
      "byteIndex": 84
    },
    "declarationKind": "export",
    "kind": "variable",
    "variableDef": {
      "tsType": {
        "repr": "",
        "kind": "typeLiteral",
        "typeLiteral": {
          "constructors": [],
          "methods": [
            {
              "name": "d",
              "kind": "method",
              "location": {
                "filename": "file:///mod.ts",
                "line": 8,
                "col": 2,
                "byteIndex": 151
              },
              "params": [
                {
                  "kind": "identifier",
                  "name": "e",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              ],
              "optional": false,
              "returnType": {
                "repr": "void",
                "kind": "keyword",
                "keyword": "void"
              },
              "typeParams": []
            },
            {
              "name": "h",
              "kind": "getter",
              "location": {
                "filename": "file:///mod.ts",
                "line": 10,
                "col": 2,
                "byteIndex": 206
              },
              "params": [],
              "optional": false,
              "returnType": {
                "repr": "string",
                "kind": "keyword",
                "keyword": "string"
              },
              "typeParams": []
            },
            {
              "name": "h",
              "kind": "setter",
              "location": {
                "filename": "file:///mod.ts",
                "line": 13,
                "col": 2,
                "byteIndex": 247
              },
              "params": [
                {
                  "kind": "identifier",
                  "name": "value",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              ],
              "optional": false,
              "returnType": null,
              "typeParams": []
            },
            {
              "name": "[t]",
              "kind": "method",
              "location": {
                "filename": "file:///mod.ts",
                "line": 17,
                "col": 2,
                "byteIndex": 301
              },
              "params": [
                {
                  "kind": "identifier",
                  "name": "u",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              ],
              "computed": true,
              "optional": false,
              "returnType": {
                "repr": "void",
                "kind": "keyword",
                "keyword": "void"
              },
              "typeParams": []
            }
          ],
          "properties": [
            {
              "name": "a",
              "location": {
                "filename": "file:///mod.ts",
                "line": 5,
                "col": 2,
                "byteIndex": 92
              },
              "params": [],
              "computed": false,
              "optional": false,
              "tsType": {
                "repr": "string",
                "kind": "keyword",
                "keyword": "string"
              },
              "typeParams": []
            },
            {
              "name": "b",
              "location": {
                "filename": "file:///mod.ts",
                "line": 6,
                "col": 2,
                "byteIndex": 102
              },
              "params": [],
              "computed": false,
              "optional": false,
              "tsType": {
                "repr": "Map",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": [
                    {
                      "repr": "string",
                      "kind": "keyword",
                      "keyword": "string"
                    },
                    {
                      "repr": "number",
                      "kind": "keyword",
                      "keyword": "number"
                    }
                  ],
                  "typeName": "Map"
                }
              },
              "typeParams": []
            },
            {
              "name": "c",
              "location": {
                "filename": "file:///mod.ts",
                "line": 7,
                "col": 2,
                "byteIndex": 134
              },
              "params": [],
              "computed": false,
              "optional": false,
              "tsType": {
                "repr": "",
                "kind": "typeLiteral",
                "typeLiteral": {
                  "constructors": [],
                  "methods": [],
                  "properties": [
                    {
                      "name": "d",
                      "location": {
                        "filename": "file:///mod.ts",
                        "line": 7,
                        "col": 7,
                        "byteIndex": 139
                      },
                      "params": [],
                      "computed": false,
                      "optional": false,
                      "tsType": {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      },
                      "typeParams": []
                    }
                  ],
                  "callSignatures": [],
                  "indexSignatures": []
                }
              },
              "typeParams": []
            },
            {
              "name": "f",
              "location": {
                "filename": "file:///mod.ts",
                "line": 9,
                "col": 2,
                "byteIndex": 176
              },
              "params": [],
              "computed": false,
              "optional": false,
              "tsType": {
                "repr": "",
                "kind": "fnOrConstructor",
                "fnOrConstructor": {
                  "constructor": false,
                  "tsType": {
                    "repr": "void",
                    "kind": "keyword",
                    "keyword": "void"
                  },
                  "params": [
                    {
                      "kind": "identifier",
                      "name": "g",
                      "optional": false,
                      "tsType": {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      }
                    }
                  ],
                  "typeParams": []
                }
              },
              "typeParams": []
            },
            {
              "name": "[s]",
              "location": {
                "filename": "file:///mod.ts",
                "line": 16,
                "col": 2,
                "byteIndex": 278
              },
              "params": [],
              "computed": true,
              "optional": false,
              "tsType": {
                "repr": "",
                "kind": "array",
                "array": {
                  "repr": "",
                  "kind": "union",
                  "union": [
                    {
                      "repr": "number",
                      "kind": "keyword",
                      "keyword": "number"
                    },
                    {
                      "repr": "string",
                      "kind": "keyword",
                      "keyword": "string"
                    }
                  ]
                }
              },
              "typeParams": []
            }
          ],
          "callSignatures": [],
          "indexSignatures": []
        }
      },
      "kind": "const"
    }
  }
]
