@angular/compiler 19.0.1 → 19.1.0-next.0

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.1
2
+ * @license Angular v19.1.0-next.0
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1480,8 +1480,8 @@ declare const FUNCTION_TYPE: BuiltinType;
1480
1480
  export declare class FunctionExpr extends Expression {
1481
1481
  params: FnParam[];
1482
1482
  statements: Statement[];
1483
- name?: (string | null) | undefined;
1484
- constructor(params: FnParam[], statements: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: (string | null) | undefined);
1483
+ name?: string | null | undefined;
1484
+ constructor(params: FnParam[], statements: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: string | null | undefined);
1485
1485
  isEquivalent(e: Expression | Statement): boolean;
1486
1486
  isConstant(): boolean;
1487
1487
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -2410,7 +2410,7 @@ export declare class ParseError {
2410
2410
  * Error that caused the error to be surfaced. For example, an error in a sub-expression that
2411
2411
  * couldn't be parsed. Not guaranteed to be defined, but can be used to provide more context.
2412
2412
  */
2413
- readonly relatedError?: unknown;
2413
+ readonly relatedError?: unknown | undefined;
2414
2414
  constructor(
2415
2415
  /** Location of the error. */
2416
2416
  span: ParseSourceSpan,
@@ -2422,7 +2422,7 @@ export declare class ParseError {
2422
2422
  * Error that caused the error to be surfaced. For example, an error in a sub-expression that
2423
2423
  * couldn't be parsed. Not guaranteed to be defined, but can be used to provide more context.
2424
2424
  */
2425
- relatedError?: unknown);
2425
+ relatedError?: unknown | undefined);
2426
2426
  contextualMessage(): string;
2427
2427
  toString(): string;
2428
2428
  }
@@ -2540,9 +2540,9 @@ declare class Parser_2 {
2540
2540
  export declare class ParserError {
2541
2541
  input: string;
2542
2542
  errLocation: string;
2543
- ctxLocation?: any;
2543
+ ctxLocation?: any | undefined;
2544
2544
  message: string;
2545
- constructor(message: string, input: string, errLocation: string, ctxLocation?: any);
2545
+ constructor(message: string, input: string, errLocation: string, ctxLocation?: any | undefined);
2546
2546
  }
2547
2547
 
2548
2548
  declare function parseSelectorToR3Selector(selector: string | null): R3CssSelectorList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler",
3
- "version": "19.0.1",
3
+ "version": "19.1.0-next.0",
4
4
  "description": "Angular - the compiler library",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  "tslib": "^2.3.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@angular/core": "19.0.1"
14
+ "@angular/core": "19.1.0-next.0"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "@angular/core": {