# mod.ts
/** A default arrow fn */
export default (a: string): void => {};
# output.txt
Defined in file:///mod.ts:1:1
function default(a: string): void
A default arrow fn
# output.json
{
"symbols": [
{
"name": "default",
"isDefault": true,
"declarations": [
{
"location": {
"filename": "file:///mod.ts",
"line": 1,
"col": 0,
"byteIndex": 26
},
"declarationKind": "export",
"jsDoc": {
"doc": "A default arrow fn"
},
"kind": "function",
"def": {
"params": [
{
"kind": "identifier",
"name": "a",
"optional": false,
"tsType": {
"repr": "string",
"kind": "keyword",
"value": "string"
}
}
],
"returnType": {
"repr": "void",
"kind": "keyword",
"value": "void"
},
"hasBody": true
}
}
]
}
]
}