From microsoft/vscode#18229
TypeScript Version: 2.2.0-dev.20170109
Code
In a JS file:
/**
* @param {(x)=>void} x
**/
function foo(x) { }
Expected behavior:
Reports a syntax error when trying to parse the JSDoc type annotation
Actual behavior:
No error reported. x has any type
From microsoft/vscode#18229
TypeScript Version: 2.2.0-dev.20170109
Code
In a JS file:
Expected behavior:
Reports a syntax error when trying to parse the JSDoc type annotation
Actual behavior:
No error reported.
xhasanytype