Skip to content

Node Runs TypeScript Now. Here's Exactly What It Strips, What It Refuses, and What It Costs

Article DiscussionsSudoSecurity · · 1 min read

Created
29 Nov 2026
Last reply
about 7 hours ago
Replies
0
Views
0
Reactions
0

Discussion of the blog article Node Runs TypeScript Now. Here's Exactly What It Strips, What It Refuses, and What It Costs.

Node 24 and 26 run .ts files with no build step and no flags, by replacing types with whitespace. I ran eleven test cases, the TypeScript 7 compiler and tsx against both versions: enums, parameter properties and type imports without the type keyword all break, type errors run anyway, and...

Read the full article →

Discussion thread — share findings, corrections and follow-ups below.

0 replies

    Post a comment

    Join the discussion to share your thoughts.

    Sign in