documentation/test/fixture/alias.output.json
2015-12-07 13:04:01 -05:00

66 lines
1.3 KiB
JSON

[
{
"description": "This is a method that has an alias tag: so it should\nbe referred to as nixon, but should still have inference.",
"tags": [
{
"title": "alias",
"description": null,
"lineNumber": 3,
"name": "nixon"
}
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 3
}
},
"context": {
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 8,
"column": 1
}
},
"code": "/**\n * This is a method that has an alias tag: so it should\n * be referred to as nixon, but should still have inference.\n * @alias nixon\n */\nfunction dewey(a: number): number {\n return a;\n}\n"
},
"errors": [],
"alias": "nixon",
"name": "nixon",
"kind": "function",
"params": [
{
"title": "param",
"name": "a",
"lineNumber": 6,
"type": {
"type": "NameExpression",
"name": "number"
}
}
],
"returns": [
{
"type": {
"type": "NameExpression",
"name": "number"
}
}
],
"members": {
"instance": [],
"static": []
},
"path": [
"nixon"
]
}
]