This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
Async function makes all variables constant #136
Closed
Description
What version of TypeScript are you using?
2.1.4
What version of typescript-eslint-parser
are you using?
1.0.1
What code were you trying to parse?
async function test() {
var foo = null;
foo = 'hhh';
}
What did you expect to happen?
I excepted no errors.
What happened?
Eslint error 'foo is constant (no-const-assign)'