ts-pattern · Issues· 77 open
Open on GitHubLocally synced open issues (discussions stay on GitHub)
- #360
Build fails on main after picomatch 2.3.2 upgrade
Updated Aug 5, 2026 - #354
Nullable NoInfer breaks `with()` handler
Updated Jun 10, 2026 - #183
`exhaustive` doesn't work when the conditions use an enum with numeric values
Updated Dec 14, 2025 - #340
patterns of type `P.Pattern` do not work
Updated Dec 12, 2025 - #323
Branded type does not work anymore
Updated Dec 4, 2025 - #334
const/literal handlers
enhancementUpdated Nov 17, 2025 - #336
`P.instanceOf(Text)` not working with `isMatching`
Updated Oct 30, 2025 - #335
Incorrect array exhaustiveness check
Updated Oct 15, 2025 - #333
P.when behaves incorrectly in corner cases when types have intersection
Updated Sep 25, 2025 - #331
P.select loses type inference when used with multiple patterns in a single .with
Updated Sep 15, 2025 - #328
Create dedicated documentation page
enhancementUpdated Aug 15, 2025 - #327
Export "infer" type alias supporting narrowing
enhancementUpdated Aug 7, 2025 - #326
How to match and use `P.select()` on recursive data structures?
Updated Jul 27, 2025 - #320
Idea: Compile match() to zero-runtime if/switch via Babel/TS plugin for worklet-safe and embedded use
enhancementUpdated Jun 11, 2025 - #64
Wrong type with when guard and generics
Updated May 16, 2025