github gvergnaud/ts-pattern v3.3.5

latest releases: v5.2.0, v5.1.2, v5.1.1...
2 years ago

Bug fixes

This fixes a type inference bug impacting handler functions with explicit type annotations.

It used to be possible to annotate the handler function with an invalid type annotation. Thanks to this commit, it no longer type-checks 2d75074.

See the related issue for more details: #73

Don't miss a new ts-pattern release

NewReleases is sending notifications on new releases.