We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Spread allows to pass only exact type and thus brokes typescript type system
Narrower type must always be allowed to pass to a wider one
https://stackblitz.com/edit/effector-vite-react-template-kyxaio?file=src/model.ts
The text was updated successfully, but these errors were encountered:
Start a new pull request in StackBlitz Codeflow.
Sorry, something went wrong.
spread
@velialiev Please, check this issue fixed in https://github.com/effector/patronum/releases/tag/v2.3.0
velialiev
No branches or pull requests
Current behavior:
Spread allows to pass only exact type and thus brokes typescript type system
Expected behavior:
Narrower type must always be allowed to pass to a wider one
Demo:
https://stackblitz.com/edit/effector-vite-react-template-kyxaio?file=src/model.ts
The text was updated successfully, but these errors were encountered: