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.
- 09:20 Experimental transform types.
- 10:01 Importing types with type keyword.
- 11:17 No need for sourcemaps.
- 11:42 No dependencies.
Hit us up on Socials!
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads