869: Node + TypeScript in 2025

Syntax - Tasty Web Development Treats

Scott and Wes explore the experimental world of running TypeScript in Node, breaking down the differences between type stripping and compiling. They cover the pros, cons, and quirks of the current implementation, plus explore tools like tsx, ts-node, and even alternatives like Deno.

Show Notes

  • 00:00 Welcome to Syntax!
  • 00:41 Brought to you by Sentry.io.
  • 01:29 Running TypeScript in Node.
  • 01:45 Experimental Type Stripping.
  • 03:17 TypeScript refresher.
  • 04:05 TypeScript can be compiled and/or Type Stripped.
  • 05:09 Current Node implementation is only type stripping.
  • 05:40 Limitations of no compiling.
    • 05:57 Enums.
    • 08:30 Other issues.
    • 08:35 Parameter properties.
  • 09:20 Experimental transform types.
  • 10:01 Importing types with type keyword.
  • 11:17 No need for sourcemaps.
  • 11:42 No dependencies.
    • 13:08 Other tools.
    • 13:25 tsx.
    • 14:28 ts-node.
    • 14:44 JSDoc.
    • 16:30 Deno and Bun.
Hit us up on Socials!

Syntax: X Instagram Tiktok LinkedIn Threads

Wes: X Instagram Tiktok LinkedIn Threads

Scott: X Instagram Tiktok LinkedIn Threads

Randy: X Instagram YouTube Threads

To listen to explicit episodes, sign in.

Stay up to date with this show

Sign in or sign up to follow shows, save episodes and get the latest updates.

Select a country or region

Africa, Middle East, and India

Asia Pacific

Europe

Latin America and the Caribbean

The United States and Canada