r/typescript • u/creativemaybeno • Mar 04 '21
r/typescript • u/DanielRosenwasser • Aug 01 '25
Announcing TypeScript 5.9
r/typescript • u/DanielRosenwasser • Apr 21 '26
Announcing TypeScript 7.0 Beta
devblogs.microsoft.comr/typescript • u/PUSH_AX • Jul 25 '24
Node.js adds experimental support for TypeScript
r/typescript • u/Globe-X • Jan 13 '24
Why is configuring TS so hard?
I wanted to start using typescript for my project to better handle runtime errors and also to use other typescript features
However it’s been 2 days since I’ve been trying to configure a proper typescript project without getting shouted at for every changes that I make (especially the import/require lines).
I have tried watching many videos on the same and also read a lot of articles and somehow I still cannot get past configuring the .json files for the project. At this rate I won’t be able to complete my actual project.
Any advice on how I can get past this?
r/typescript • u/DanielRosenwasser • May 22 '25
Announcing TypeScript Native Previews
r/typescript • u/enrjor • Aug 23 '21
When you want to get rid of that ugly no-explicit-any warning.
r/typescript • u/RohanSinghvi1238942 • Jun 20 '25
TypeScript stuff I Wish I Knew Earlier
Picked up TS thinking it’d just be “JS + types.”
It’s not. It’s a mindset shift.
Some hard-earned lessons:
Don’t overtype everything. Let the compiler infer; it’s smarter than you think.
Avoid enum unless you really need it: union types are usually cleaner.
Never ignore errors with as many. That’s just JS in disguise. Learn how generics work: it’ll unlock 80% of advanced patterns.
TS makes you slow at first. But once it clicks? It’s like building with safety nets and jetpacks.
Still bump into new edge cases almost daily, especially while working on Alpha (an AI dev assistant for React + TS). It's interesting how, even with type safety, the real challenge is often unlearning and relearning, and having a hold of everything learnt.
Anyway, what’s one TS habit you had to unlearn?
r/typescript • u/jfet97 • Nov 30 '24
A goodie from TS 5.8
The next iteration of the compiler is going to be super exciting. Version 5.8 includes months of effort by Gabriela Britto, finalized in the PR #56941, to support conditional types and indexed access types in function return types.
At last, we can properly type functions like the one in the snippet without relying on dubious overloads or clunky, unreliable hacks.

Link to the PR
Link to the playground
P.S. If this gets merged, we ain't gonna need that default case anymore in this situation.
r/typescript • u/nikolasburk • Feb 17 '25
AMA: I work at Prisma, we're moving from Rust to TS
Hey Reddit, I work at Prisma and we've recently announced that we're undergoing a major rewrite in which we're moving the core of Prisma ORM from Rust to TypeScript.
This core is responsible for managing DB connections, generating actual SQL queries, and a few more low-level things.
If you're curious to learn more about why we wrote the core in Rust in the first place, and why we're moving to TypeScript, you can read this recent article on our blog: From Rust to TypeScript: A New Chapter for Prisma ORM.
This topic has caused a lot of excitement in our community and we've seen many developers approaching us with questions, so we wanted to take the opportunity to have a public conversation around the move and give you all the chance to ask us questions directly.
Feel free to ask away :)
r/typescript • u/PusheenHater • Aug 13 '26
I would like to personally apologize to the creators of TypeScript
When I first started using it for work I hated it and cursed it. The syntax was weird and confusing. Annoying type errors.
But now that I've been using it, I definitely changed my mind. JS is filthy.. disgusting. You never know what type it is.
I learned TS alongside React, so that's also double confusion as I was learning it.
TS is great, and this is coming from Java/C# as my previous main languages. TS is now my favorite language to use. I love letting things be a mix of multiple types, like const temp: string | undefined. It's unfortunate C# doesn't support that. C# is my close second favorite language.
r/typescript • u/DanielRosenwasser • 1d ago
Announcing TypeScript 7.1 RC
r/typescript • u/ctrlaltdelmarva • Mar 03 '20
Just learned about the Omit utility type! It constructs a type by picking all properties from an object and then removes any specified props.
r/typescript • u/[deleted] • May 05 '25
Typescript changed my life
I used to write in regular JS and was ignorant to TS for years. I thought it was just some overhyped junk that’d die out, since after all it’s just a layer over JavaScript
Decided to try it on a new project a few months ago. I can’t believe I underestimated how much safer this is. I get a fraction of the production issues that I used to now
r/typescript • u/DanielRosenwasser • May 26 '21
Announcing TypeScript 4.3
r/typescript • u/DanielRosenwasser • Jan 26 '23
Announcing TypeScript 5.0 Beta
r/typescript • u/KillcoDer • Nov 09 '22
10-25% faster typescript compile times, 43% smaller npm package after Typescript codebase converted to modules
r/typescript • u/PUSH_AX • Jun 13 '19
Airbnb think 38% of their bugs could have been preventable by using Typescript
r/typescript • u/creativemaybeno • Apr 12 '21
TypeScript reached 70k stars on GitHub
r/typescript • u/some-ideation • Oct 02 '25
The Temporal Dead Zone, or why the TypeScript codebase is littered with var statements
vincentrolfs.devI found it interesting that the TypeScript codebase uses `var` a lot and wrote this post about it. I'm happy for any feedback on my writing!