Skip to content

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

Merged
Perryvw merged 3 commits intomasterfrom
using
Aug 31, 2023
Merged

Add support for TS 5.2 using and await using keywords#1479
Perryvw merged 3 commits intomasterfrom
using

Conversation

@Perryvw
Copy link
Copy Markdown
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