@angular/compiler 18.0.0 → 18.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/esm2022/src/render3/partial/class_metadata.mjs +2 -2
- package/esm2022/src/render3/partial/directive.mjs +1 -1
- package/esm2022/src/render3/partial/factory.mjs +1 -1
- package/esm2022/src/render3/partial/injectable.mjs +1 -1
- package/esm2022/src/render3/partial/injector.mjs +1 -1
- package/esm2022/src/render3/partial/ng_module.mjs +1 -1
- package/esm2022/src/render3/partial/pipe.mjs +1 -1
- package/esm2022/src/template/pipeline/src/phases/track_fn_optimization.mjs +5 -2
- package/esm2022/src/version.mjs +1 -1
- package/fesm2022/compiler.mjs +14 -11
- 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 v18.0.0
|
|
2
|
+
* @license Angular v18.1.0-next.0
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1381,8 +1381,8 @@ export declare class ExternalExpr extends Expression {
|
|
|
1381
1381
|
export declare class ExternalReference {
|
|
1382
1382
|
moduleName: string | null;
|
|
1383
1383
|
name: string | null;
|
|
1384
|
-
runtime?: any;
|
|
1385
|
-
constructor(moduleName: string | null, name: string | null, runtime?: any);
|
|
1384
|
+
runtime?: (any | null) | undefined;
|
|
1385
|
+
constructor(moduleName: string | null, name: string | null, runtime?: (any | null) | undefined);
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
1388
|
declare interface ExternalReferenceResolver {
|
|
@@ -1432,8 +1432,8 @@ declare const FUNCTION_TYPE: BuiltinType;
|
|
|
1432
1432
|
export declare class FunctionExpr extends Expression {
|
|
1433
1433
|
params: FnParam[];
|
|
1434
1434
|
statements: Statement[];
|
|
1435
|
-
name?: string | null | undefined;
|
|
1436
|
-
constructor(params: FnParam[], statements: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: string | null | undefined);
|
|
1435
|
+
name?: (string | null) | undefined;
|
|
1436
|
+
constructor(params: FnParam[], statements: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: (string | null) | undefined);
|
|
1437
1437
|
isEquivalent(e: Expression | Statement): boolean;
|
|
1438
1438
|
isConstant(): boolean;
|
|
1439
1439
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -2458,9 +2458,9 @@ declare class Parser_2 {
|
|
|
2458
2458
|
export declare class ParserError {
|
|
2459
2459
|
input: string;
|
|
2460
2460
|
errLocation: string;
|
|
2461
|
-
ctxLocation?: any;
|
|
2461
|
+
ctxLocation?: any | undefined;
|
|
2462
2462
|
message: string;
|
|
2463
|
-
constructor(message: string, input: string, errLocation: string, ctxLocation?: any);
|
|
2463
|
+
constructor(message: string, input: string, errLocation: string, ctxLocation?: any | undefined);
|
|
2464
2464
|
}
|
|
2465
2465
|
|
|
2466
2466
|
declare function parseSelectorToR3Selector(selector: string | null): R3CssSelectorList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler",
|
|
3
|
-
"version": "18.0.0",
|
|
3
|
+
"version": "18.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": "18.0.0"
|
|
14
|
+
"@angular/core": "18.1.0-next.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"@angular/core": {
|