Skip to content

[Bug]: mixins and implements should not allowed in flow DeclareInterface and InterfaceDeclaration #15387

@fisker

Description

@fisker

💻

  • Would you like to work on a fix?

How are you using Babel?

babel-loader (webpack)

Input code

interface A implements B {}
interface A mixins B {}
declare interface A implements B {}
declare interface A mixins B {}

Configuration file name

No response

Configuration

No response

Current and expected behavior

Should all invalid

Environment

Latest

Possible solution

No response

Additional context

Flow Playground

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: flowoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions