Skip to content

Error in types for reset function #331

@Lakovshchikov

Description

@Lakovshchikov

Current behavior:

When trying to pass the event returned by the reset function to config.target for delay function, an typescript error occurs.

Expected behavior:

The event from the reset function will be received as config.target for the delay function without errors.

Demo:

https://stackblitz.com/edit/effector-vite-react-template-rjh1va?file=src%2Fmodel.ts

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions