@angular/compiler 18.0.2 → 18.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/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/version.mjs +1 -1
- 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 v18.0.
|
|
2
|
+
* @license Angular v18.1.0-next.1
|
|
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;
|
|
@@ -2473,9 +2473,9 @@ declare class Parser_2 {
|
|
|
2473
2473
|
export declare class ParserError {
|
|
2474
2474
|
input: string;
|
|
2475
2475
|
errLocation: string;
|
|
2476
|
-
ctxLocation?: any;
|
|
2476
|
+
ctxLocation?: any | undefined;
|
|
2477
2477
|
message: string;
|
|
2478
|
-
constructor(message: string, input: string, errLocation: string, ctxLocation?: any);
|
|
2478
|
+
constructor(message: string, input: string, errLocation: string, ctxLocation?: any | undefined);
|
|
2479
2479
|
}
|
|
2480
2480
|
|
|
2481
2481
|
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.
|
|
3
|
+
"version": "18.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": "18.0.
|
|
14
|
+
"@angular/core": "18.1.0-next.1"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"@angular/core": {
|