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

Simplify is any #107

Merged
merged 3 commits into from
Jun 25, 2019
Merged

Simplify is any #107

merged 3 commits into from
Jun 25, 2019

Conversation

andnp
Copy link
Owner

@andnp andnp commented Jun 14, 2019

Thanks to @krisdages for pointing out this simplification! This PR makes
the IsAny type much more simple. Previously we were exhaustively
checking that the given type, T, was not any other type. This is
pretty prone to mistake and is not very sustainable (a new fundamental
type could be introduced).

Closes #105

Thanks to @krisdages for pointing out this simplification! This PR makes
the `IsAny` type much more simple. Previously we were exhaustively
checking that the given type, `T`, was _not_ any other type. This is
pretty prone to mistake and is not very sustainable (a new fundamental
type could be introduced).
@andnp andnp requested a review from Retsam as a code owner June 14, 2019 14:39
@andnp andnp merged commit 92a9ca8 into master Jun 25, 2019
@andnp andnp deleted the SimplifyIsAny branch June 25, 2019 19:04
@andnp
Copy link
Owner Author

andnp commented Jun 25, 2019

🎉 This PR is included in version 3.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@andnp andnp added the released label Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Simplify IsAny
1 participant