Skip to content

Arrow function destructuring broken when given type and when first argument. #114

Open
@dsifford

Description

@dsifford

Strange behavior here.

Here's an example..

Works fine

const x = foo((foo, { foo }: foo) => {});

Broken

const x = foo(({ foo }: foo, foo) => {});

Tried to take a stab at it, but couldn't figure it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ArrowFuncThe fundamental difficulty

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions