mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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.
35 lines
812 B
Plaintext
35 lines
812 B
Plaintext
{
|
|
"classes": [
|
|
{
|
|
"name": "Foo",
|
|
"members": [
|
|
{
|
|
"name": "method",
|
|
"type": {
|
|
"name": "Promise<ElementHandle>"
|
|
},
|
|
"kind": "method",
|
|
"comment": "The method does something.",
|
|
"args": [
|
|
{
|
|
"name": "arg1",
|
|
"type": {
|
|
"name": "string"
|
|
},
|
|
"kind": "property",
|
|
"comment": "A single line argument comment"
|
|
},
|
|
{
|
|
"name": "arg2",
|
|
"type": {
|
|
"name": "string"
|
|
},
|
|
"kind": "property",
|
|
"comment": "A multiline argument comment:\n - it could be this\n - or it could be that"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |