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

Revision 0.34.14 #1140

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Revision 0.34.14 #1140

merged 3 commits into from
Jan 16, 2025

Conversation

sinclairzx81
Copy link
Owner

This PR updates the TypeCompiler Promise check.

The updated check uses instanceof Promise vs only checking the then property. This is technically more correct as checking the .then property in isolation would only assert the value is a PromiseLike<T>. Additionally, this update aligns the compiler check to the instanceof check already implemented for Value.Check.

Reference #1139

@sinclairzx81 sinclairzx81 merged commit 870ab41 into master Jan 16, 2025
18 checks passed
@sinclairzx81 sinclairzx81 deleted the promise branch January 16, 2025 08:21
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.

1 participant