Skip to content

Commit 0e97b79

Browse files
cexbrayatalan-agius4
authored andcommitted
refactor(@angular/build): remove mcp best practice for if aliases
This is no longer true in Angular v20.2, see angular/angular@a409534
1 parent b256b33 commit 0e97b79

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/angular/cli/src/commands/mcp/resources/best-practices.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,3 @@ You are an expert in TypeScript, Angular, and scalable web application developme
4545
- Design services around a single responsibility
4646
- Use the `providedIn: 'root'` option for singleton services
4747
- Use the `inject()` function instead of constructor injection
48-
49-
## Common pitfalls
50-
51-
- Control flow (`@if`):
52-
- You cannot use `as` expressions in `@else if (...)`. E.g. invalid code: `@else if (bla(); as x)`.

0 commit comments

Comments
 (0)