TypeScript Version: 3.0.0-dev.20180711
Code
tsconfig.json
{
"compilerOptions": {
"strict": true,
"allowJs": true,
"checkJs": true
}
}
a.js
/**
* @template T
* @return {T}
*/
function f() { return x; }
const x = f();
Expected behavior:
Error somewhere that x is implicitly any.
Actual behavior:
No error.
TypeScript Version: 3.0.0-dev.20180711
Code
tsconfig.json
{ "compilerOptions": { "strict": true, "allowJs": true, "checkJs": true } }a.js
Expected behavior:
Error somewhere that
xis implicitlyany.Actual behavior:
No error.