Spread doesn't allow to pass a narrower type to a wider one
Open
bug
- Dominant language
- TypeScript
- Stars
- 312
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.