Settings

Theme

Bringing Pattern Matching to TypeScript Introducing TS-Pattern v3.0

dev.to

7 points by gvergnaud 5 years ago · 2 comments

Reader

Ayc0 5 years ago

This library seems really cool: according to the docs, it manages to detect some complicated patterns. I haven't used it yet, but I'll give it a try in my future projects.

And according to bundlephobia, it's only 1.6kB minified and gzipped so I think I'll use it as a building block for all my future pattern match!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection