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

fix: some functional inference, some unions with closed objects #1275

Merged
merged 10 commits into from
Jan 26, 2025
Merged

Conversation

ssalbdivad
Copy link
Member

  • Fix an issue causing some unions with onUndeclaredKey: "reject" rejecting valid data (#1266)

  • Fix an issue where Types containing arrays were incorrectly treated as including morphs, leading to some unnecessary validation overhead (#1268)

  • Fix an issue causing objects containing functions like () => never that are subtypes of InferredMorph to be incorrectly treated as morphs (#1264)

  • Fail early with a ParseError if instanceOf operand is not actually a function at runtime (#1262)

@ssalbdivad ssalbdivad merged commit 631cc61 into main Jan 26, 2025
6 checks passed
@ssalbdivad ssalbdivad deleted the 2.0.3 branch January 26, 2025 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done (merged or closed)
1 participant