Skip to content

Getting a "TransformError: Unexpected token ," from a Flow type #923

@volkanunsal

Description

@volkanunsal

Can anyone help me understand why this isn't working?

type RemoveFromBagParams = {bag: mixed, addedItemsBin: string, removedItemsBin: string, itemToBeRemoved: Array<string> };

It errors out with

SyntaxError: TransformError: Unexpected token ,

I'm using React Native version 0.4.0 with Flow version 0.9.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions