TypeScript Version: 2.5.2 / nightly (2.6.0-dev.20170922)
Code
tsconfig.json with noImplicitAny set to true:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"strict": true,
"noImplicitAny": true
}
}
Creating a variable without specifying a type:
Expected behavior:
Typescript compiler complains that i is implicit any.
Actual behavior:
Typescript compile does not report any issue.
If I use typescript 2.0.10 (with adapted tsconfig.json) I get "error TS7005: Variable 'i' implicitly has an 'any' type." as expected.
TypeScript Version: 2.5.2 / nightly (2.6.0-dev.20170922)
Code
tsconfig.json with
noImplicitAnyset to true:{ "compilerOptions": { "target": "es5", "module": "commonjs", "strict": true, "noImplicitAny": true } }Creating a variable without specifying a type:
Expected behavior:
Typescript compiler complains that
iis implicit any.Actual behavior:
Typescript compile does not report any issue.
If I use typescript 2.0.10 (with adapted tsconfig.json) I get "error TS7005: Variable 'i' implicitly has an 'any' type." as expected.