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.

Parameters with assignations do not provide type annotation information #146

Closed
@weirdpattern

Description

@weirdpattern

What version of TypeScript are you using?
2.0.3 and 2.1.5

What version of typescript-eslint-parser are you using?
1.0.2

What code were you trying to parse?

function message(name: string= "foo"): string {
    return name;
}

What did you expect to happen?
Parameters with assignation must also provide type annotation information.

What happened?
Parameters with assignation are not providing type annotation information.

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