google / google/closure-compiler

Option to enable rewriteAsyncFunctions regardles of transpilation target.

Open
#3,794 0 comments 0 reactions 0 assignees View on GitHub
feat
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

Zone.js needs async functions to be transpiled. Other libraries like OpenTelemetry and Angular need zone.js.
It would be nice if there was a command line flag to enable rewriteAsyncFunctions even when generating es2017+ so that these libraries still work. I assume rewriteAsyncIteration should probably be enabled at the same time.

See also https://github.com/angular/angular/issues/31730

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.