microsoft / tslib

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

Fix early call to return/throw on generator #186

Closed rbuckton closed 1 year ago

rbuckton commented 1 year ago

This PR represents the tslib change associated with https://github.com/microsoft/TypeScript/pull/51294.

rbuckton commented 1 year ago

@DanielRosenwasser we will need to publish a new tslib at some point soon with this change. This is a patch-level change as it doesn't change the API, is backwards compatible, and isn't dependent on anything specifically in 4.9.