Skip to content

Could not compile Flowtype syntax #2081

Open
@BrevAlessioMk

Description

@BrevAlessioMk

Version

17.3.1

Reproduction link

codesandbox.io

Steps to reproduce

pnpm run start throws a syntax error related to the Flow type annotation.

What is expected?

The code should compile, since the babel flow preset is installed and configured.

What is actually happening?

The code is not compiling.


The same configuration was working on Vue 2 ( with vue-template-compiler ).
I am not sure this is a bug but if you can take a look I'd appreciate very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions