Skip to content

"export default async function" wraps function in parenthesis #5084

@roytz

Description

@roytz

I know there's already an issue for it - #700
but it's closed and yet not fixed.
Using the prettier version 1.14.0 - I still get this error (while using flow parser).

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:flowIssues affecting Flow-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencystatus:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions