documentation/test/fixture/default-param.output.md.json
Tom MacWright 70cc7d0718 Infer Flow type aliases into typedefs. Fixes #227
Given the `type` tag introduced with Flow, this can infer
a typedef statement, as well as infer its potentially
nested properties and their types.

This also includes

* Refactor of Markdown AST generation that fixes #228
* Refactor of nest.js to handle multi-level nesting
2015-11-04 11:25:32 -05:00

100 lines
2.0 KiB
JSON

{
"type": "root",
"children": [
{
"depth": 1,
"type": "heading",
"children": [
{
"type": "text",
"value": "veryImportantTransform"
}
]
},
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Very Important Transform",
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 25
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 25
},
"indent": []
}
},
{
"type": "strong",
"children": [
{
"type": "text",
"value": "Parameters"
}
]
},
{
"ordered": false,
"type": "list",
"children": [
{
"type": "listItem",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "inlineCode",
"value": "foo"
},
{
"type": "text",
"value": " "
},
{
"type": "text",
"value": " "
},
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": " (optional, default "
},
{
"type": "inlineCode",
"value": "'bar'"
},
{
"type": "text",
"value": ")"
}
]
}
]
}
]
}
]
}
]
}