By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Node.js 23.6 Now Runs TypeScript Natively
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Node.js 23.6 Now Runs TypeScript Natively
News

Node.js 23.6 Now Runs TypeScript Natively

News Room
Last updated: 2025/03/09 at 6:11 PM
News Room Published 9 March 2025
Share
SHARE

The Node team recently announced shipping TypeScript native support in Node 23.6. Node developers can now run TypeScript files without any extra configuration or flags. The feature, which was experimental in Node 22.6, is now stable. Native TypeScript support was among the most requested Node features by developers.

Node developers can now create an index.ts file, run node index.ts without additional flags, and Node will remove the TypeScript type annotations from the file and run the resulting JavaScript code.

Caveats apply. Node.js ignores tsconfig.json files and therefore features that depend on settings within tsconfig.json, such as paths or converting newer JavaScript syntax to older standards (e.g., decorators, a stage 3 proposal), are intentionally unsupported. Similarly, there is no support for JSX files.

Node also does not support TypeScript syntaxes that require JavaScript code generation. As Node will simply replace inline types with whitespaces (i.e. type stripping), developers can run TypeScript code without needing source maps. However, some TypeScript constructs, which have runtime semantics or require JavaScript code generation, will not be supported. The set of supported TypeScript syntax is dubbed erasable syntax. The latest release of TypeScript *i.e., TypeScript 5.8) adds a --erasableSyntaxOnly flag to support this workflow.

The Node.js documentation lists the most important unsupported syntax:

The most prominent features that require transformation are:

  • Enum declarations
  • namespace with runtime code
  • legacy module with runtime code
  • parameter properties
  • import aliases

Native TypeScript support brings Node closer to alternative TypeScript-native runtimes such as Deno or Bun. The Deno team detailed in a blog post the additional features still offered only by Deno, among which tsconfig support and distributing TypeScript without transpilation.

Developers are encouraged to review the extensive discussion of the feature roadmap, which includes the rationale behind the choice of tradeoffs made by the team and the feedback from developers.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Everyone in AI Loves Synthetic Data—But No One Can Agree on What It Is | HackerNoon
Next Article How I learned to use several email addresses to keep all my protected digital accounts
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

YouTube intros new top-podcast chart, letting you see exactly who’s influencing America
News
Your Guide to Choosing the Best Refurbished Electronics
Gadget
How Digital Twins Use Big Data to Mirror the Real World | HackerNoon
Computing
Second Fortnite submission to the App Store still stuck in limbo – 9to5Mac
News

You Might also Like

News

YouTube intros new top-podcast chart, letting you see exactly who’s influencing America

3 Min Read
News

Second Fortnite submission to the App Store still stuck in limbo – 9to5Mac

3 Min Read
News

Shein and Temu shoppers get huge relief after rule get slashed in half

6 Min Read
News

Tim Sweeney is mocking Apple for letting Fortnite fakes into the App Store

3 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?