Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in types for reset function #331

Open
Lakovshchikov opened this issue Jun 23, 2024 · 0 comments
Open

Error in types for reset function #331

Lakovshchikov opened this issue Jun 23, 2024 · 0 comments

Comments

@Lakovshchikov
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants