On a mild personal note, I'm finally (mostly) moving from X to Bluesky... and also calling it X instead of Twitter now. Woop. 🦋
https://t.co/YAG9KqbBns
This article was long in the making, but I'm happy with how it came out (& relieved it's finally done). Branded types are surprisingly useful when they're applicable!
New Learning TypeScript article: Branded Types 📛
TypeScript is great, but what happens when you want even more specificity than what it allows? Say, differentiating sanitized and un-sanitized strings, or positive integers from all numbers?
https://t.co/p9afVBXOIK
#typescript
New Learning TypeScript article: Why TypeScript Doesn't Include a throws Keyword 🙋
It's often requested for TypeScript, but comes with downsides that make it ill-suited for the JavaScript ecosystem. Read on to learn more! 📖
https://t.co/mlqOdPImRi
#javascript#typescript
🎃 New Learning TypeScript article for Halloween: Narrowing Function Parameters With Rests And Tuples. A scarily useful technique for the occasional function with dependent parameter types!
What does that mean? What are the alternatives? Read within! 👻
https://t.co/1xAMEFCLlu
📝 New Learning TypeScript article: Why TypeScript Doesn't Follow Strict Semantic Versioning
A juicy topic, with info on:
* What & why of semver
* Why strict semver is impractical for TypeScript
* How TypeScript adheres to a looser semver instead
https://t.co/OVOEaIJVwN
A lot of you like TypeScript. How do you deal with the fact that it does not respect semantic versioning? This seems so much of a deal breaker to me... and I get bitten by it every single time I use TS.
This one's a little spicy 🌶️. looking forward to rage engagement from it. 😄
Thanks in particular to the folks who gave feedback: @SeaRyanC, @drosenwasser, Kenny at Codecademy, and @CodesChrissy!
Finished @JoshuaKGoldberg Typescript book a couple weeks ago. It was amazing! Very well written and beginner friendly 💜. I left a small review on my website.
https://t.co/ovC6eN3xSv
♟️ A new entry has been added to Extreme Explorations of TypeScript's Type System!
Type System Chess, by @DanielJamesNZ: https://t.co/LPPNZXwgx4
"This repo contains chess implemented entirely in the (stable) Rust and Typescript type systems." 👏
https://t.co/SQ140klX0H
@JoshuaKGoldberg@lizkenyon07@LearningTSBook This book plus the TS handbook are absolutely all you need to get up and running fast — and this is a hill I am willing to die on.
🎯 New Learning TypeScript article: Why Increase Your TSConfig 'target'
Let's cover explains:
* The benefits of using a relatively recent compilerOptions > target
* How to choose as recent a target as your users can handle
Details within: 👉 https://t.co/9IcJckdKVi