From 2d051c620c59dd7ed1e0527f7c6135c40e7a60e5 Mon Sep 17 00:00:00 2001 From: randyrektor <157041235+randyrektor@users.noreply.github.com> Date: Fri, 17 Jan 2025 12:06:32 -0500 Subject: [PATCH] Create 869 - Node TypeScript in 2025.md --- shows/869 - Node TypeScript in 2025.md | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 shows/869 - Node TypeScript in 2025.md diff --git a/shows/869 - Node TypeScript in 2025.md b/shows/869 - Node TypeScript in 2025.md new file mode 100644 index 00000000..f9f7c9f2 --- /dev/null +++ b/shows/869 - Node TypeScript in 2025.md @@ -0,0 +1,42 @@ +--- +number: 869 +title: Node + TypeScript in 2025 +date: 1737111600000 +url: https://traffic.libsyn.com/syntax/Syntax_-_869.mp3 +youtube_url: https://www.youtube.com/watch?v=28Mjeo0Esnw +--- + +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](#t=00:00)** Welcome to Syntax! +* **[00:41](#t=00:41)** Brought to you by [Sentry.io](https://sentry.io/syntax). +* **[01:29](#t=01:29)** Running TypeScript in Node. +* **[01:45](#t=01:45)** Experimental Type Stripping. +* **[03:17](#t=03:17)** TypeScript refresher. +* **[04:05](#t=04:05)** TypeScript can be compiled and/or Type Stripped. +* **[05:09](#t=05:09)** Current Node implementation is only type stripping. +* **[05:40](#t=05:40)** Limitations of no compiling. + * **[05:57](#t=05:57)** Enums. + * **[08:30](#t=08:30)** Other issues. + * **[08:35](#t=08:35)** Parameter properties. +* **[09:20](#t=09:20)** Experimental transform types. +* **[10:01](#t=10:01)** Importing types with type keyword. +* **[11:17](#t=11:17)** No need for sourcemaps. +* **[11:42](#t=11:42)** No dependencies. + * **[13:08](#t=13:08)** Other tools. + * **[13:25](#t=13:25)** [tsx](https://www.npmjs.com/package/tsx). + * **[14:28](#t=14:28)** [ts-node](https://www.npmjs.com/package/ts-node). + * **[14:44](#t=14:44)** [JSDoc](https://jsdoc.app/). + * **[16:30](#t=16:30)** [Deno](https://deno.com/) and [Bun](https://bun.sh/). + +### Hit us up on Socials! + +Syntax: [X](https://twitter.com/syntaxfm) [Instagram](https://www.instagram.com/syntax_fm/) [Tiktok](https://www.tiktok.com/@syntaxfm) [LinkedIn](https://www.linkedin.com/company/96077407/admin/feed/posts/) [Threads](https://www.threads.net/@syntax_fm) + +Wes: [X](https://twitter.com/wesbos) [Instagram](https://www.instagram.com/wesbos/) [Tiktok](https://www.tiktok.com/@wesbos) [LinkedIn](https://www.linkedin.com/in/wesbos/) [Threads](https://www.threads.net/@wesbos) + +Scott: [X](https://twitter.com/stolinski) [Instagram](https://www.instagram.com/stolinski/) [Tiktok](https://www.tiktok.com/@stolinski) [LinkedIn](https://www.linkedin.com/in/stolinski/) [Threads](https://www.threads.net/@stolinski) + +Randy: [X](https://twitter.com/randyrektor) [Instagram](https://www.instagram.com/randyrektor/) [YouTube](https://www.youtube.com/@randyrektor) [Threads](https://www.threads.net/@randyrektor) \ No newline at end of file