Skip to content

Strange preventDefault & stopPropagation types #120

Closed
@maddie927

Description

@maddie927

Both of these functions have the type forall eff a. Event -> Eff eff a. What a is this? Seems like accidentally coercing that to something really unsafe would be easy, and really difficult to track down later. Just want to make sure this isn't necessary for some reason before making a PR (to forall eff. Event -> Eff eff Unit).

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