Skip to content

Conversation

@Rubilmax
Copy link
Collaborator

No description provided.

oumar-fall
oumar-fall previously approved these changes Dec 12, 2025
Copy link
Collaborator

@oumar-fall oumar-fall left a comment

Choose a reason for hiding this comment

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

It's weird that typescript cannot infer E as E1 | E2

julien-devatom
julien-devatom previously approved these changes Dec 12, 2025
Copy link
Contributor

@julien-devatom julien-devatom left a comment

Choose a reason for hiding this comment

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

you can even have a recursive overload, right?

@Rubilmax
Copy link
Collaborator Author

It's weird that typescript cannot infer E as E1 | E2

Yes

you can even have a recursive overload, right?

I don't know how

@Rubilmax Rubilmax dismissed stale reviews from julien-devatom and oumar-fall via 7f053f0 December 12, 2025 10:27
@Rubilmax Rubilmax force-pushed the fix/try-overload branch 2 times, most recently from 7f053f0 to b6d4247 Compare December 16, 2025 08:32
@Rubilmax Rubilmax merged commit ab55b32 into main Dec 30, 2025
17 checks passed
@Rubilmax Rubilmax deleted the fix/try-overload branch December 30, 2025 13:19
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

Successfully merging this pull request may close these issues.

5 participants