Closed
Description
TypeScript Version: 3.8.0-dev.20200208
Search Terms: JSDocThisTag typeExpression
Code
const sourceFile = ts.createSourceFile("test.ts", `/**
* @this - Some description.
*/
function test() {}`);
console.log(sourceFile.statements[0].jsDoc[0].tags[0].typeExpression);
Expected behavior: Undefined as type declaration has that as a possibility.
Actual behavior: { pos: 13, end: 13, ... }
Select Options -> typescript@next and check "Show internals":