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

Type issue in atomWithMutation #63

Closed
mrodyhin opened this issue Jan 16, 2024 · 1 comment
Closed

Type issue in atomWithMutation #63

mrodyhin opened this issue Jan 16, 2024 · 1 comment
Assignees

Comments

@mrodyhin
Copy link

When using atomWithMutation, type of mutateAsync resolves to any:

live example
image

I found that in /dist/src/atomWithMutation.d.ts it tries to import that type from the file that doesn't exist:
image

@kalijonn kalijonn self-assigned this Jan 18, 2024
@kalijonn
Copy link
Collaborator

fixed in #66

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

No branches or pull requests

2 participants