Skip to content

Add support for TS 5.2 using and await using keywords #1479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 31, 2023
Merged

Add support for TS 5.2 using and await using keywords #1479

merged 3 commits into from
Aug 31, 2023

Conversation

Perryvw
Copy link
Member

@Perryvw Perryvw commented Aug 26, 2023

Adds support for the new using and await using feature introduced in TypeScript 5.2, see: https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/

This way of transforming the TS AST could be used to replace many more occurrences of lualib-like things, without needing to add that logic and checking to the main transformer visitors. This could potentially help with maintainability of lualib replacements. Performance difference still TBD.

@Perryvw Perryvw marked this pull request as ready for review August 27, 2023 12:09
@Perryvw Perryvw merged commit 87dab53 into master Aug 31, 2023
@Perryvw Perryvw deleted the using branch August 31, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant