Skip to content

Conversation

@den-churbanov
Copy link
Contributor

@den-churbanov den-churbanov commented Mar 28, 2025

This PR is similar to this one - it adds more explicit errors for split operator.

This PR solves next issues: #622, #769, #999
I added some tests for match function inference, inline prepend calls and attach in default case.

Also i'm not sure about narrower types edge cases - all highlighted cases must be an errors, but ts don't think so 🥲

@den-churbanov den-churbanov force-pushed the improve-split-type-errors branch from 56c348c to 17ef529 Compare April 1, 2025 08:07
@den-churbanov den-churbanov marked this pull request as ready for review April 1, 2025 10:43
@sergeysova sergeysova added the typings Typescript public type definitions issues label May 2, 2025
Copy link
Member

@zerobias zerobias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks!

@zerobias zerobias merged commit 37e7072 into effector:master Jul 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typings Typescript public type definitions issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants