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: Microsoft Releases TypeScript 5.9 with Deferred Imports and Enhanced Developer Experience
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 > Microsoft Releases TypeScript 5.9 with Deferred Imports and Enhanced Developer Experience
News

Microsoft Releases TypeScript 5.9 with Deferred Imports and Enhanced Developer Experience

News Room
Last updated: 2025/08/04 at 5:14 AM
News Room Published 4 August 2025
Share
SHARE

TypeScript, Microsoft’s statically-typed superset of JavaScript, has released TypeScript 5.9, shipping with a mix of developer experience improvements, new features, and performance optimizations.

TypeScript 5.9 introduces several features, including support for deferred imports, an improved default project setup via the scaffolding flag, and a more stable module resolution mode for Node.js v20. It also announces a new expandable hover preview.

One of the headline features in TypeScript 5.9 is support for the proposed import defer syntax, part of a stage-3 ECMAScript proposal. This feature allows developers to defer the loading and execution of a module and its dependencies until the moment the imported property is accessed.

The syntax for deferred imports is similar to a regular import, except there are some rules, such as not being able to use named imports or default imports. An example of the correct syntax is shown below:

 


import defer * as expensiveLibrary from 'expensive-library'


Developers that are scaffolding new TypeScript configurations and using the tsc –init command will now be presented with a leaner tsconfig. The change has been implemented based on feedback indicating that it is common for developers to delete a lot of the automatically generated contents of tsconfig.json files. With the new changes developers will now get a more concise file, and be able to make use of editor autocompletion and the tsconfig reference on the TypeScript website to add in the specific config required.

Alongside the existing nodenext module mode, this new version of TypeScript will introduce a node20 module option. The option is intended to mirror the behaviour of Node.js v20 and as a result will not be likely to include future features or behaviors in the same way the ‘nodenext’ mode would. The exception to this would be if the NodeJS team backport new module behavior to Node.js v20.

In tools such as Visual Studio Code, TypeScript 5.9 brings improvements to the developer experience with the introduction of expandable type previews. The goal of this new feature is that for deeply nested types, a new ‘+’ and ‘-’ button will be available so developers can dig deeper into types, reducing the need to jump directly into the definition files. This new feature has prompted some excitement from the community, with users on reddit already highlighting the convenience of the new feature:

Im very excited about import defer, but I think that the Summary Descriptions and the Expandable Hovers are going to be the biggest game changer with newbies. A lot of TypeScript felt esoteric and abstruse to me when I first learned it, so making the underlying information more immediately available is definitely a good move.

There are some behind the scenes performance upgrades also shipped as part of TypeScript 5.9. These include cache instantiations on mappers to reduce unnecessary instantiating of the same intermediate types multiple times, and optimised file existence checks which on larger projects could have a speed increase of around 11%.

The release notes for 5.9 also give a glimpse into future releases. While the team are focussing on their recently announced port of TypeScript compiler to Go, currently planned for TypeScript v7, they have indicated that version 6 will be more of a bridge release to alllow developers to prepare for version 7.

TypeScript is an open-source programming language developed and maintained by Microsoft. It builds on JavaScript by adding optional static typing, making it easier to catch errors early and build large-scale applications with confidence. TypeScript is widely adopted across frontend and backend ecosystems, with first-class support in frameworks like React, Angular, Vue, and Node.js.

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 How One Indian Man Travels to Vietnam, Buys MacBook Cheaper Than India Price and Enjoys 11-Day Vacation
Next Article Vivo T4R 5G Brings Flagship Power, Premium Design: All for under Rs. 20,000
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

London can ‘overtake San Francisco’ in AI, claims Quench founder – UKTN
News
This Vortx XL Dual Stack Air Fryer has a £50 saving today
Gadget
Lambda Isn’t Made for Parallelism — But Go Still Gets the Job Done | HackerNoon
Computing
AI Can Now Help You With Investment Research: 1-Year of Access Is Now Discounted
News

You Might also Like

News

London can ‘overtake San Francisco’ in AI, claims Quench founder – UKTN

2 Min Read
News

AI Can Now Help You With Investment Research: 1-Year of Access Is Now Discounted

4 Min Read
News

Watch Brain-Controlled iPad in Action for the First Time

2 Min Read
News

The Apple MacBook Air M4 is still at its record-low price — $799 for a limited time

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?