Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create - (869 - Node TypeScript in 2025.md) #1940

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions shows/869 - Node TypeScript in 2025.md
Original file line number Diff line number Diff line change
@@ -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)
Loading