Skip to content

Destructured object parameter #97

Open
@tomaskallup

Description

@tomaskallup

Currently the syntax doesn't account for destructuring in function parameter.
Here's an example:

interface MyObject {
    a: string;
    unused: boolean;
}

const func = ({ a }: MyObject) => {
    a.toUpperCase();
};

MyObject after { a }: doesn't get highlight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions