microsoft / tslib

Runtime library for TypeScript helpers.
BSD Zero Clause License
1.26k stars 130 forks source link

Add helpers for `using` and `await using` #213

Closed rbuckton closed 1 year ago

rbuckton commented 1 year ago

This adds the helpers from https://github.com/microsoft/TypeScript/pull/54505.

rbuckton commented 1 year ago

@jakebailey any further feedback?

jakebailey commented 1 year ago

No, I just didn't approve because I figured you'd want Andrew's opinion and not mine 😄

rbuckton commented 1 year ago

@DanielRosenwasser we will need to ship this in an update to tslib when we release 5.2 beta.

DanielRosenwasser commented 1 year ago

I think you can just release that now as a minor version.