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.
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
Scott: X Instagram Tiktok LinkedIn Threads
Randy: X Instagram YouTube Threads
Hosts & Guests
Information
- Show
- FrequencyUpdated twice weekly
- Published20 January 2025 at 12:00 UTC
- Length18 min
- RatingClean