Skip to content
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

Update typescript target #78

Merged
merged 1 commit into from
Oct 13, 2024
Merged

Update typescript target #78

merged 1 commit into from
Oct 13, 2024

Conversation

antonk52
Copy link
Contributor

Hi and thank you for your work.

This PR updates the typescript target according to the @tsconfig/node18 npm package as currently in the package.json engines filed the minimum supported nodejs version is 18. The main benefit of this change is that typescript will no longer need to transform async functions and inline an __awaiter helper in every file where async functions are used. This results the output code closer resembling the source code as well as less code being shipped to npm.

@gjtorikian
Copy link
Owner

Cool, thank you!

@gjtorikian gjtorikian merged commit c81f078 into gjtorikian:main Oct 13, 2024
1 check passed
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.

2 participants