TypeScript Version: 2.9.0-dev.20180418
Search Terms:
Code
/**
* @example
* ```
* 1 + 2
* ```
*/
export function foo() { }
Hover over foo
Bug:
The jsdoc content returned includes the leading * from the comment inside the code block:
[Trace - 11:08:38 AM] Response received: quickinfo (13). Request took 2 ms. Success: true
Result: {
"kind": "function",
"kindModifiers": "export",
"start": {
"line": 9,
"offset": 17
},
"end": {
"line": 9,
"offset": 20
},
"displayString": "function foo(): void",
"documentation": "",
"tags": [
{
"name": "example",
"text": "```\n * 1 + 2\n * ```"
}
]
}
This is a regression from the current 2.8 builds
TypeScript Version: 2.9.0-dev.20180418
Search Terms:
Code
Hover over
fooBug:
The jsdoc content returned includes the leading
*from the comment inside the code block:This is a regression from the current 2.8 builds