@angular/compiler 17.0.0-next.2 → 17.0.0-next.3

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.2
2
+ * @license Angular v17.0.0-next.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.2
2
+ * @license Angular v17.0.0-next.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -44,6 +44,7 @@ export declare class ArrowFunctionExpr extends Expression {
44
44
  isConstant(): boolean;
45
45
  visitExpression(visitor: ExpressionVisitor, context: any): any;
46
46
  clone(): Expression;
47
+ toDeclStmt(name: string, modifiers?: StmtModifier): DeclareVarStmt;
47
48
  }
48
49
 
49
50
  export declare abstract class AST {
@@ -786,6 +787,7 @@ export declare class ConstantPool {
786
787
  literalFactory: outputAst.Expression;
787
788
  literalFactoryArguments: outputAst.Expression[];
788
789
  };
790
+ getSharedFunctionReference(fn: outputAst.FunctionExpr | outputAst.ArrowFunctionExpr, prefix: string): outputAst.Expression;
789
791
  private _getLiteralFactory;
790
792
  /**
791
793
  * Produce a unique name.
@@ -1381,7 +1383,7 @@ export declare class FunctionExpr extends Expression {
1381
1383
  statements: Statement[];
1382
1384
  name?: string | null | undefined;
1383
1385
  constructor(params: FnParam[], statements: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: string | null | undefined);
1384
- isEquivalent(e: Expression): boolean;
1386
+ isEquivalent(e: Expression | Statement): boolean;
1385
1387
  isConstant(): boolean;
1386
1388
  visitExpression(visitor: ExpressionVisitor, context: any): any;
1387
1389
  toDeclStmt(name: string, modifiers?: StmtModifier): DeclareFunctionStmt;
@@ -3748,6 +3750,7 @@ export declare class R3Identifiers {
3748
3750
  static repeaterCreate: outputAst.ExternalReference;
3749
3751
  static repeaterTrackByIndex: outputAst.ExternalReference;
3750
3752
  static repeaterTrackByIdentity: outputAst.ExternalReference;
3753
+ static componentInstance: outputAst.ExternalReference;
3751
3754
  static text: outputAst.ExternalReference;
3752
3755
  static enableBindings: outputAst.ExternalReference;
3753
3756
  static disableBindings: outputAst.ExternalReference;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler",
3
- "version": "17.0.0-next.2",
3
+ "version": "17.0.0-next.3",
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": "17.0.0-next.2"
14
+ "@angular/core": "17.0.0-next.3"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "@angular/core": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.2
2
+ * @license Angular v17.0.0-next.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */