Re:TypeScript 5.2's New Keyword: 'using'
by cbzoiav on Monday June 19, 2023 @06:16AM
(#36389354)
I'd imagine dispose is a common function name and being dynamically typed there is potentially a lot of code out there that already has a "call dispose if it exists on this object" pattern.
Vs this won't break anything existing.