#tspattern search results

#TSPattern ✨v4✨ has finally been released! 🎉 Pattern Matching in #TypeScript has never been easier😊 ✅ Better support for arrays and tuples ✅ Unions and Intersections of patterns ✅ Better type inference And much more! Release note 👉github.com/gvergnaud/ts-p…

GabrielVergnaud's tweet image. #TSPattern ✨v4✨ has finally been released! 🎉


Pattern Matching in #TypeScript has never been easier😊

✅ Better support for arrays and tuples
✅ Unions and Intersections of patterns
✅ Better type inference

And much more!

Release note 👉github.com/gvergnaud/ts-p…

My new favorite lib is #TSPattern, which brings pattern matching to #TypeScript. You might be familiar with it if you know Haskell or Rust (or even Python 3.10). Look at how cleanly you can replace a clunky switch-case or a messy set of if-elses. Short explanation in thread 1/4

_orcharddweller's tweet image. My new favorite lib is #TSPattern, which brings pattern matching to  #TypeScript. You might be familiar with it if you know Haskell or Rust (or even Python 3.10).

Look at how cleanly you can replace a clunky switch-case or a messy set of if-elses.
Short explanation in thread 1/4

For any #TypeScript devs, I recently discovered TS Pattern by @GabrielVergnaud. I'm already addicted! 🤩 It makes your code clean, neat, readable, and safer, thanks to isMatching, match, Pattern (P),...👌 #TypeScript #TSPattern #TypeSafety #WebDev

phenrysay's tweet image. For any #TypeScript devs, I recently discovered TS Pattern by @GabrielVergnaud. I'm already addicted! 🤩
It makes your code clean, neat, readable, and safer, thanks to isMatching, match, Pattern (P),...👌

#TypeScript #TSPattern #TypeSafety #WebDev

For any #TypeScript devs, I recently discovered TS Pattern by @GabrielVergnaud. I'm already addicted! It works just like a charm, making your code clean, neat, safer and readable, thanks to isMatching, match, P/Pattern,...👌 #TSPattern #TypeSafety #WebDev github.com/gvergnaud/ts-p…


Commit message of the day: > refactor all _if/then/else_ with pattern matching <3 #TSPattern


✋Poll time: In #TSPattern v4, Which name would you prefer for the catch-all wildcard pattern? We are currently debating these options on the PR, but feel free to comment with other options! github.com/gvergnaud/ts-p…


TS-Pattern v4 is really close to being released! 🎉 Should be for next week. If you are using #TSPattern with #TypeScript v4.5+, you are very welcome to try upgrading and give your feedback on the PR Breaking changes are in the description! 👉 github.com/gvergnaud/ts-p…

github.com

TS-Pattern v4 by gvergnaud · Pull Request #70 · gvergnaud/ts-pattern

⚠️ As the new features rely heavily on tail call elimination, this version is only compatible with TypeScript version 4.5 or higher. Breaking changes Imports type-specific wildcard patterns have mo...

TS-Pattern crossed 2k stars😮🎉 I guess it's about time to tell you I started working on a new major version⚡︎ - Patterns for Unions and Intersections - Optional obj properties - Better `select` See 🧵👇for new features / breaking changes! PR: github.com/gvergnaud/ts-p… 🧵1/9

GabrielVergnaud's tweet image. TS-Pattern crossed 2k stars😮🎉

I guess it&apos;s about time to tell you I started working on a new major version⚡︎

- Patterns for Unions and Intersections
- Optional obj properties
- Better `select`

See 🧵👇for new features / breaking changes!

PR: github.com/gvergnaud/ts-p…

🧵1/9


For any #TypeScript devs, I recently discovered TS Pattern by @GabrielVergnaud. I'm already addicted! 🤩 It makes your code clean, neat, readable, and safer, thanks to isMatching, match, Pattern (P),...👌 #TypeScript #TSPattern #TypeSafety #WebDev

phenrysay's tweet image. For any #TypeScript devs, I recently discovered TS Pattern by @GabrielVergnaud. I&apos;m already addicted! 🤩
It makes your code clean, neat, readable, and safer, thanks to isMatching, match, Pattern (P),...👌

#TypeScript #TSPattern #TypeSafety #WebDev

For any #TypeScript devs, I recently discovered TS Pattern by @GabrielVergnaud. I'm already addicted! It works just like a charm, making your code clean, neat, safer and readable, thanks to isMatching, match, P/Pattern,...👌 #TSPattern #TypeSafety #WebDev github.com/gvergnaud/ts-p…


Commit message of the day: > refactor all _if/then/else_ with pattern matching <3 #TSPattern


My new favorite lib is #TSPattern, which brings pattern matching to #TypeScript. You might be familiar with it if you know Haskell or Rust (or even Python 3.10). Look at how cleanly you can replace a clunky switch-case or a messy set of if-elses. Short explanation in thread 1/4

_orcharddweller's tweet image. My new favorite lib is #TSPattern, which brings pattern matching to  #TypeScript. You might be familiar with it if you know Haskell or Rust (or even Python 3.10).

Look at how cleanly you can replace a clunky switch-case or a messy set of if-elses.
Short explanation in thread 1/4

#TSPattern ✨v4✨ has finally been released! 🎉 Pattern Matching in #TypeScript has never been easier😊 ✅ Better support for arrays and tuples ✅ Unions and Intersections of patterns ✅ Better type inference And much more! Release note 👉github.com/gvergnaud/ts-p…

GabrielVergnaud's tweet image. #TSPattern ✨v4✨ has finally been released! 🎉


Pattern Matching in #TypeScript has never been easier😊

✅ Better support for arrays and tuples
✅ Unions and Intersections of patterns
✅ Better type inference

And much more!

Release note 👉github.com/gvergnaud/ts-p…

✋Poll time: In #TSPattern v4, Which name would you prefer for the catch-all wildcard pattern? We are currently debating these options on the PR, but feel free to comment with other options! github.com/gvergnaud/ts-p…


TS-Pattern v4 is really close to being released! 🎉 Should be for next week. If you are using #TSPattern with #TypeScript v4.5+, you are very welcome to try upgrading and give your feedback on the PR Breaking changes are in the description! 👉 github.com/gvergnaud/ts-p…

github.com

TS-Pattern v4 by gvergnaud · Pull Request #70 · gvergnaud/ts-pattern

⚠️ As the new features rely heavily on tail call elimination, this version is only compatible with TypeScript version 4.5 or higher. Breaking changes Imports type-specific wildcard patterns have mo...

TS-Pattern crossed 2k stars😮🎉 I guess it's about time to tell you I started working on a new major version⚡︎ - Patterns for Unions and Intersections - Optional obj properties - Better `select` See 🧵👇for new features / breaking changes! PR: github.com/gvergnaud/ts-p… 🧵1/9

GabrielVergnaud's tweet image. TS-Pattern crossed 2k stars😮🎉

I guess it&apos;s about time to tell you I started working on a new major version⚡︎

- Patterns for Unions and Intersections
- Optional obj properties
- Better `select`

See 🧵👇for new features / breaking changes!

PR: github.com/gvergnaud/ts-p…

🧵1/9


No results for "#tspattern"

My new favorite lib is #TSPattern, which brings pattern matching to #TypeScript. You might be familiar with it if you know Haskell or Rust (or even Python 3.10). Look at how cleanly you can replace a clunky switch-case or a messy set of if-elses. Short explanation in thread 1/4

_orcharddweller's tweet image. My new favorite lib is #TSPattern, which brings pattern matching to  #TypeScript. You might be familiar with it if you know Haskell or Rust (or even Python 3.10).

Look at how cleanly you can replace a clunky switch-case or a messy set of if-elses.
Short explanation in thread 1/4

For any #TypeScript devs, I recently discovered TS Pattern by @GabrielVergnaud. I'm already addicted! 🤩 It makes your code clean, neat, readable, and safer, thanks to isMatching, match, Pattern (P),...👌 #TypeScript #TSPattern #TypeSafety #WebDev

phenrysay's tweet image. For any #TypeScript devs, I recently discovered TS Pattern by @GabrielVergnaud. I&apos;m already addicted! 🤩
It makes your code clean, neat, readable, and safer, thanks to isMatching, match, Pattern (P),...👌

#TypeScript #TSPattern #TypeSafety #WebDev

#TSPattern ✨v4✨ has finally been released! 🎉 Pattern Matching in #TypeScript has never been easier😊 ✅ Better support for arrays and tuples ✅ Unions and Intersections of patterns ✅ Better type inference And much more! Release note 👉github.com/gvergnaud/ts-p…

GabrielVergnaud's tweet image. #TSPattern ✨v4✨ has finally been released! 🎉


Pattern Matching in #TypeScript has never been easier😊

✅ Better support for arrays and tuples
✅ Unions and Intersections of patterns
✅ Better type inference

And much more!

Release note 👉github.com/gvergnaud/ts-p…

Loading...

Something went wrong.


Something went wrong.


United States Trends