Tech Insights· totaltypescript.com
Typescript is adding a using keyword with support for sync and async dispose methods
From totaltypescript.com
TypeScript 5.2 introduces 'using', a keyword that disposes anything with a `Symbol.dispose` function upon leaving scope, making resource management easier.
Shared by
- TypeScript



