The Standup with ThePrimeagen· Staffel 1· Folge 18

WTF Typescript?

Donnerstag, 10. Juli 2025 · 1 h 25

MP3

Shownotes

Trash presents his Typescript presentation from Render ATL (Sorry if you are audio only listener)

🔗 Sponsored by Sentry sentry.io | Code breaks, fix it faster
📌 Chapters:
- Intro
- Who’s actually a “web developer”?
- Trash’s live intro & TypeScript presentation setup
- Sentry #ad
- Excess property checks in TS
- WTF: Object spreads silence type errors
- React prop spreading madness
- Structural vs duck typing debate
- WTF: Enums and why everyone hates them
- Enum strings vs numbers behavior
- Why enums in Node are cursed
- Safer enum alternatives using const objects
- TS quirks: Boolean filter keeps undefined in types
- TSReset: The “CSS reset” for TypeScript
- WTF: Empty object {} lets everything through
- Doom rendered in TypeScript type system
- Type-level math in TS (it’s real)
- Scaling hell: TS performance bottlenecks
- Flamegraphs and fighting TS perf without docs
- TS inference vs explicit typing in large codebases
- Prime’s favorite TS bug strikes again
- Casey breaks down the compiler logic
- Is this a TypeScript bug or a feature?
- Final thoughts and community love
---
**Topics Covered:**
• TypeScript excess property checks
• Enums vs object literals
• Structural vs duck typing
• TS compiler edge cases
• WTFs that break your mental model
• Type-level math
• Performance debugging hell
• Massive monorepo pain points
• The one TypeScript bug Prime can’t let go

0:00 / 0:00