-
Notifications
You must be signed in to change notification settings - Fork 12k
class private methods are not enabled #24411
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
Comments
Same issue here, I have upgrade from Angular 14 to angular 15.0.3, and now my project does not build anymore. My project has a depency to I get the following error when building:
|
Same here..
|
Такая же ошибка как у @Talb2005 |
…hen targeting Safari <=v15 This commits enables `@babel/plugin-proposal-private-methods` when targetting Safari <=v15 as this is needed to hande private class methods when using `@babel/plugin-proposal-class-properties`. Closes angular#24411
…hen targeting Safari <=v15 This commits enables `@babel/plugin-proposal-private-methods` when targeting Safari <=v15 as this is needed to handle private class methods when using `@babel/plugin-proposal-class-properties`. Closes angular#24411
…hen targeting Safari <=v15 This commits enables `@babel/plugin-proposal-private-methods` when targeting Safari <=v15 as this is needed to handle private class methods when using `@babel/plugin-proposal-class-properties`. Closes #24411
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Command
build, serve
Is this a regression?
The previous version in which this bug was not present was
15.0.2
Description
Class private methods no longer works with
@angular-devkit/build-angular@15.0.3
.Minimal Reproduction
ng new repro-app
app.component.ts
, e.g.:ng serve
Exception or Error
Your Environment
Anything else relevant?
I believe #24357 was a cause.
The text was updated successfully, but these errors were encountered: