Closed
Description
Acknowledgement
- I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
Comment
The following are recent normative changes to the Explicit Resource Management proposal that need to be implemented by TypeScript:
- Ignore return value of [Symbol.dispose]() method when hint is 'async-dispose' tc39/proposal-explicit-resource-management#180
- Add PromiseCapability wrapper around sync dispose used in an
await using
tc39/proposal-explicit-resource-management#218- Addressed by:
await using
normative changes #58624
- Addressed by:
- Fix
GetDisposeMethod
to match consensus tc39/proposal-explicit-resource-management#217- Addressed by:
await using
normative changes #58624
- Addressed by:
-
FixDisposeCapability
leak tc39/proposal-explicit-resource-management#194- Not affected (implementation already empties stack)
-
Remove superfluous ClassBody restriction tc39/proposal-explicit-resource-management#220- Not affected
-
Fix missing lookahead restriction tc39/proposal-explicit-resource-management#222- Already supported