@angular/compiler 22.0.0-next.4 → 22.0.0-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler",
3
- "version": "22.0.0-next.4",
3
+ "version": "22.0.0-next.5",
4
4
  "description": "Angular - the compiler library",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.4
2
+ * @license Angular v22.0.0-next.5
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -3273,7 +3273,7 @@ interface R3DeclareComponentMetadata extends R3DeclareDirectiveMetadata {
3273
3273
  animations?: Expression;
3274
3274
  /**
3275
3275
  * Strategy used for detecting changes in the component.
3276
- * Defaults to `ChangeDetectionStrategy.Default`.
3276
+ * Defaults to `ChangeDetectionStrategy.OnPush`.
3277
3277
  */
3278
3278
  changeDetection?: ChangeDetectionStrategy$1;
3279
3279
  /**
@@ -3795,7 +3795,8 @@ declare class SwitchBlockCaseGroup extends BlockNode implements Node {
3795
3795
  visit<Result>(visitor: Visitor<Result>): Result;
3796
3796
  }
3797
3797
  declare class SwitchExhaustiveCheck extends BlockNode implements Node {
3798
- constructor(sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1);
3798
+ expression: AST | null;
3799
+ constructor(expression: AST | null, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1);
3799
3800
  visit<Result>(visitor: Visitor<Result>): Result;
3800
3801
  }
3801
3802
  declare class ForLoopBlock extends BlockNode implements Node {