-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Harden variable declarator validations #17217
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
Harden variable declarator validations #17217
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/59001 |
Does this play well with TypeScript's |
Good catch. Currently no. The |
Co-authored-by: Nicolò Ribaudo <hello@nicr.dev>
Docs PR is ready: babel/website#3075 PTAL |
This PR is sprung off from #17163. Here we applied more constraints on variable declarator validations in Babel 8.