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