Skip to content
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
@NeoReyad

Description

@NeoReyad

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)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions