Joel Einbinder 1a25a4efcf
fix(doclint): support lists in comments (#1492)
Adds logging comments to the doclint tests, and adds a new one with a bulleted list in a comment. Lists can only be used in comments where extra properties would be unexpected.
2020-03-23 14:50:32 -07:00

44 lines
971 B
Plaintext

{
"classes": [
{
"name": "Foo",
"comment": "This is a class.",
"members": [
{
"name": "frame",
"type": {
"name": "[Frame]"
},
"kind": "event",
"comment": "This event is dispatched."
},
{
"name": "$",
"type": {
"name": "Promise<ElementHandle>"
},
"kind": "method",
"comment": "The method runs document.querySelector.",
"args": [
{
"name": "selector",
"type": {
"name": "string"
},
"kind": "property",
"comment": "A selector to query page for"
}
]
},
{
"name": "url",
"type": {
"name": "string"
},
"kind": "property",
"comment": "Contains the URL of the request."
}
]
}
]
}