# a.ts
const test1: string = "";
const test2: number = 3, test3: number = 3;
const test4: number;
const test5: number;

export { test1, test2, test3 };
export { test4, test5 };

# b.ts
export class Test {}

# c.ts
export * from "./a.ts";
export { Test } from "./b.ts";

# mod.ts
export { Test, test1 } from "./c.ts";

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


error[missing-jsdoc]: exported symbol is missing JSDoc documentation
 --> /a.ts:1:7
  | 
1 | const test1: string = "";
  |       ^

# output.txt
Defined in file:///a.ts:1:7

const test1: string

Defined in file:///b.ts:1:1

class Test



# output.json
[
  {
    "name": "Test",
    "isDefault": false,
    "location": {
      "filename": "file:///b.ts",
      "line": 1,
      "col": 0,
      "byteIndex": 0
    },
    "declarationKind": "export",
    "kind": "class",
    "classDef": {
      "isAbstract": false,
      "constructors": [],
      "properties": [],
      "indexSignatures": [],
      "methods": [],
      "extends": null,
      "implements": [],
      "typeParams": [],
      "superTypeParams": []
    }
  },
  {
    "name": "test1",
    "isDefault": false,
    "location": {
      "filename": "file:///a.ts",
      "line": 1,
      "col": 6,
      "byteIndex": 6
    },
    "declarationKind": "export",
    "kind": "variable",
    "variableDef": {
      "tsType": {
        "repr": "string",
        "kind": "keyword",
        "keyword": "string"
      },
      "kind": "const"
    }
  }
]
