What You Need to Know about TypeScript’s New Feature: “Using”

Abdelfattah Sekak
JavaScript in Plain English
5 min readAug 8, 2023

--

Photo by Nick Fewings on Unsplash

The upcoming TypeScript 5.2 is introducing an exciting feature: a new keyword ‘using’. This new keyword is designed to provide a technique on how to handle specific resources, specifically when they’re no longer needed.

Understanding the ‘using’ keyword

--

--