-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@schematics/angular): generate new projects with ECMAScript stand…
…ard class field behavior Newly generated projects will now use ECMAScript standard class field behavior by default. If the legacy TypeScript behavior is required for a new project the `useDefineForClassFields` TypeScript option can be set to `false` within the application's `tsconfig`. This should be uncommon, and if needed, it is recommended to adjust code to match standard behavior where possible.
- Loading branch information
Showing
5 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22e05dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change was the reason for the failing schematic tests we have.
The
stdout
now has hidden ANSI colors, which should be ignored via RegExp or another workaround.For example, instead of the pure log:
UPDATE package.json
, we now have something like this:UPDATE\u001b[39m package.json