# other.ts
/** a function */
export function foo(): void {}

# mod.ts
/** Re-exports of other. */
export * as other from "./other.ts";

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

namespace other
  Re-exports of other.

  function foo(): void
    a function


# output.json
{
  "symbols": [
    {
      "name": "other",
      "declarations": [
        {
          "location": {
            "filename": "file:///mod.ts",
            "line": 1,
            "col": 7,
            "byteIndex": 35
          },
          "declarationKind": "export",
          "jsDoc": {
            "doc": "Re-exports of other."
          },
          "kind": "namespace",
          "def": {
            "elements": [
              {
                "name": "foo",
                "declarations": [
                  {
                    "location": {
                      "filename": "file:///other.ts",
                      "line": 1,
                      "col": 0,
                      "byteIndex": 18
                    },
                    "declarationKind": "export",
                    "jsDoc": {
                      "doc": "a function"
                    },
                    "kind": "function",
                    "def": {
                      "params": [],
                      "returnType": {
                        "repr": "void",
                        "kind": "keyword",
                        "value": "void"
                      },
                      "hasBody": true
                    }
                  }
                ]
              }
            ]
          }
        }
      ]
    }
  ]
}
