This content originally appeared on Babel Blog and was authored by Nicolò Ribaudo
Today we are releasing Babel 7.7.0!
This release includes new parser features like top-level await (await x(), Stage 3) and Flow enum declarations (Flow proposal). And now, @babel/parser has the option of recovering from certain syntax errors!
We've also added support for TypeScript 3.7: Babel can parse and transform private class fields with type annotations, public class fields annotations defined using the declare keyword, type assertion function signatures and template literals in enum declarations.
Babel now understands three new configuration files: babel.config.json, babel.config.cjs and .babelrc.cjs, which behave the same as babel.config.js and .babelrc.js files.
Lastly, Babel 7.7.0 uses 20% less memory than 7.6.0.
You can read the whole changelog on GitHub.
This content originally appeared on Babel Blog and was authored by Nicolò Ribaudo
Nicolò Ribaudo | Sciencx (2019-11-05T06:00:00+00:00) 7.7.0 Released: Error recovery and TypeScript 3.7. Retrieved from https://www.scien.cx/2019/11/05/7-7-0-released-error-recovery-and-typescript-3-7/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.