@angular/core 22.0.0-next.3 → 22.0.0-next.5

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.
Files changed (70) hide show
  1. package/fesm2022/_attribute-chunk.mjs +1 -1
  2. package/fesm2022/_debug_node-chunk.mjs +467 -161
  3. package/fesm2022/_debug_node-chunk.mjs.map +1 -1
  4. package/fesm2022/_effect-chunk.mjs +1 -1
  5. package/fesm2022/_effect-chunk.mjs.map +1 -1
  6. package/fesm2022/_not_found-chunk.mjs +1 -1
  7. package/fesm2022/_not_found-chunk.mjs.map +1 -1
  8. package/fesm2022/_pending_tasks-chunk.mjs +2 -2
  9. package/fesm2022/_pending_tasks-chunk.mjs.map +1 -1
  10. package/fesm2022/_resource-chunk.mjs +2 -2
  11. package/fesm2022/_resource-chunk.mjs.map +1 -1
  12. package/fesm2022/_untracked-chunk.mjs +9 -5
  13. package/fesm2022/_untracked-chunk.mjs.map +1 -1
  14. package/fesm2022/_weak_ref-chunk.mjs +1 -1
  15. package/fesm2022/_weak_ref-chunk.mjs.map +1 -1
  16. package/fesm2022/core.mjs +47 -25
  17. package/fesm2022/core.mjs.map +1 -1
  18. package/fesm2022/primitives-di.mjs +1 -1
  19. package/fesm2022/primitives-di.mjs.map +1 -1
  20. package/fesm2022/primitives-event-dispatch.mjs +2 -20
  21. package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
  22. package/fesm2022/primitives-signals.mjs +2 -2
  23. package/fesm2022/primitives-signals.mjs.map +1 -1
  24. package/fesm2022/rxjs-interop.mjs +2 -2
  25. package/fesm2022/rxjs-interop.mjs.map +1 -1
  26. package/fesm2022/testing.mjs +10 -13
  27. package/fesm2022/testing.mjs.map +1 -1
  28. package/package.json +2 -2
  29. package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
  30. package/schematics/bundles/change-detection-eager.cjs +1 -1
  31. package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
  32. package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
  33. package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
  34. package/schematics/bundles/control-flow-migration.cjs +1 -1
  35. package/schematics/bundles/http-xhr-backend.cjs +1 -1
  36. package/schematics/bundles/imports-CKV-ITqD.cjs +1 -1
  37. package/schematics/bundles/index-BtLcQH8g.cjs +1 -1
  38. package/schematics/bundles/inject-migration.cjs +26 -18
  39. package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
  40. package/schematics/bundles/{migrate_ts_type_references-MWoZx-Cb.cjs → migrate_ts_type_references-Dp33iyGx.cjs} +24 -22
  41. package/schematics/bundles/ng_component_template-DPAF1aEA.cjs +1 -1
  42. package/schematics/bundles/ng_decorators-IVztR9rk.cjs +1 -1
  43. package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
  44. package/schematics/bundles/ngstyle-to-style-migration.cjs +14 -6
  45. package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
  46. package/schematics/bundles/output-migration.cjs +1 -1
  47. package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
  48. package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
  49. package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
  50. package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
  51. package/schematics/bundles/route-lazy-loading.cjs +1 -1
  52. package/schematics/bundles/router-testing-module-migration.cjs +1 -1
  53. package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
  54. package/schematics/bundles/signal-input-migration.cjs +2 -2
  55. package/schematics/bundles/signal-queries-migration.cjs +2 -2
  56. package/schematics/bundles/signals.cjs +2 -2
  57. package/schematics/bundles/standalone-migration.cjs +1 -1
  58. package/types/_api-chunk.d.ts +8 -3
  59. package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
  60. package/types/_debug_node-chunk.d.ts +19 -36
  61. package/types/_effect-chunk.d.ts +1 -1
  62. package/types/_event_dispatcher-chunk.d.ts +1 -1
  63. package/types/_formatter-chunk.d.ts +1 -1
  64. package/types/_weak_ref-chunk.d.ts +1 -1
  65. package/types/core.d.ts +63 -51
  66. package/types/primitives-di.d.ts +1 -1
  67. package/types/primitives-event-dispatch.d.ts +1 -1
  68. package/types/primitives-signals.d.ts +1 -1
  69. package/types/rxjs-interop.d.ts +1 -1
  70. package/types/testing.d.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "22.0.0-next.3",
3
+ "version": "22.0.0-next.5",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "tslib": "^2.3.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@angular/compiler": "22.0.0-next.3",
49
+ "@angular/compiler": "22.0.0-next.5",
50
50
  "rxjs": "^6.5.3 || ^7.4.0",
51
51
  "zone.js": "~0.15.0 || ~0.16.0"
52
52
  },
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1321,31 +1321,37 @@ function isStringType(node, checker) {
1321
1321
  }
1322
1322
 
1323
1323
  function migrate(options) {
1324
- return async (tree) => {
1325
- const { buildPaths, testPaths } = await project_tsconfig_paths.getProjectTsConfigPaths(tree);
1324
+ return async (tree, context) => {
1326
1325
  const basePath = process.cwd();
1326
+ let pathToMigrate;
1327
+ if (options.path) {
1328
+ if (options.path.startsWith('..')) {
1329
+ throw new schematics.SchematicsException('Cannot run inject migration outside of the current project.');
1330
+ }
1331
+ pathToMigrate = compiler_host.normalizePath(path.join(basePath, options.path));
1332
+ }
1333
+ const { buildPaths, testPaths } = await project_tsconfig_paths.getProjectTsConfigPaths(tree);
1327
1334
  const allPaths = [...buildPaths, ...testPaths];
1328
- const pathToMigrate = compiler_host.normalizePath(path.join(basePath, options.path));
1329
1335
  if (!allPaths.length) {
1330
- throw new schematics.SchematicsException('Could not find any tsconfig file. Cannot run the inject migration.');
1336
+ context.logger.warn('Could not find any tsconfig file. Cannot run the inject migration.');
1337
+ return;
1331
1338
  }
1339
+ let sourceFilesCount = 0;
1332
1340
  for (const tsconfigPath of allPaths) {
1333
- runInjectMigration(tree, tsconfigPath, basePath, pathToMigrate, options);
1341
+ const program = compiler_host.createMigrationProgram(tree, tsconfigPath, basePath);
1342
+ const sourceFiles = program
1343
+ .getSourceFiles()
1344
+ .filter((sourceFile) => (pathToMigrate ? sourceFile.fileName.startsWith(pathToMigrate) : true) &&
1345
+ compiler_host.canMigrateFile(basePath, sourceFile, program));
1346
+ sourceFilesCount += runInjectMigration(tree, sourceFiles, basePath, options);
1347
+ }
1348
+ if (sourceFilesCount === 0) {
1349
+ context.logger.warn('Inject migration did not find any files to migrate');
1334
1350
  }
1335
1351
  };
1336
1352
  }
1337
- function runInjectMigration(tree, tsconfigPath, basePath, pathToMigrate, schematicOptions) {
1338
- if (schematicOptions.path.startsWith('..')) {
1339
- throw new schematics.SchematicsException('Cannot run inject migration outside of the current project.');
1340
- }
1341
- const program = compiler_host.createMigrationProgram(tree, tsconfigPath, basePath);
1342
- const sourceFiles = program
1343
- .getSourceFiles()
1344
- .filter((sourceFile) => sourceFile.fileName.startsWith(pathToMigrate) &&
1345
- compiler_host.canMigrateFile(basePath, sourceFile, program));
1346
- if (sourceFiles.length === 0) {
1347
- throw new schematics.SchematicsException(`Could not find any files to migrate under the path ${pathToMigrate}. Cannot run the inject migration.`);
1348
- }
1353
+ function runInjectMigration(tree, sourceFiles, basePath, schematicOptions) {
1354
+ let migratedFiles = 0;
1349
1355
  for (const sourceFile of sourceFiles) {
1350
1356
  const changes = migrateFile(sourceFile, schematicOptions);
1351
1357
  if (changes.length > 0) {
@@ -1357,8 +1363,10 @@ function runInjectMigration(tree, tsconfigPath, basePath, pathToMigrate, schemat
1357
1363
  update.insertRight(change.start, change.text);
1358
1364
  }
1359
1365
  tree.commitUpdate(update);
1366
+ migratedFiles++;
1360
1367
  }
1361
1368
  }
1369
+ return migratedFiles;
1362
1370
  }
1363
1371
 
1364
1372
  exports.migrate = migrate;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -191,9 +191,11 @@ function areAllEquivalent(base, other) {
191
191
  return areAllEquivalentPredicate(base, other, (baseElement, otherElement) => baseElement.isEquivalent(otherElement));
192
192
  }
193
193
  class Expression {
194
+ leadingComments;
194
195
  type;
195
196
  sourceSpan;
196
- constructor(type, sourceSpan) {
197
+ constructor(type, sourceSpan, leadingComments) {
198
+ this.leadingComments = leadingComments;
197
199
  this.type = type || null;
198
200
  this.sourceSpan = sourceSpan || null;
199
201
  }
@@ -203,13 +205,13 @@ class Expression {
203
205
  key(index, type, sourceSpan) {
204
206
  return new ReadKeyExpr(this, index, type, sourceSpan);
205
207
  }
206
- callFn(params, sourceSpan, pure) {
207
- return new InvokeFunctionExpr(this, params, null, sourceSpan, pure);
208
+ callFn(params, sourceSpan, pure, leadingComments) {
209
+ return new InvokeFunctionExpr(this, params, null, sourceSpan, pure, leadingComments);
208
210
  }
209
- instantiate(params, type, sourceSpan) {
211
+ instantiate(params, type, sourceSpan, leadingComments) {
210
212
  return new InstantiateExpr(this, params, type, sourceSpan);
211
213
  }
212
- conditional(trueCase, falseCase = null, sourceSpan) {
214
+ conditional(trueCase, falseCase = null, sourceSpan, leadingComments) {
213
215
  return new ConditionalExpr(this, trueCase, falseCase, null, sourceSpan);
214
216
  }
215
217
  equals(rhs, sourceSpan) {
@@ -274,16 +276,16 @@ class Expression {
274
276
  nullishCoalesce(rhs, sourceSpan) {
275
277
  return new BinaryOperatorExpr(BinaryOperator.NullishCoalesce, this, rhs, null, sourceSpan);
276
278
  }
277
- toStmt() {
278
- return new ExpressionStatement(this, null);
279
+ toStmt(leadingComments) {
280
+ return new ExpressionStatement(this, null, leadingComments);
279
281
  }
280
282
  }
281
283
  class InvokeFunctionExpr extends Expression {
282
284
  fn;
283
285
  args;
284
286
  pure;
285
- constructor(fn, args, type, sourceSpan, pure = false) {
286
- super(type, sourceSpan);
287
+ constructor(fn, args, type, sourceSpan, pure = false, leadingComments) {
288
+ super(type, sourceSpan, leadingComments);
287
289
  this.fn = fn;
288
290
  this.args = args;
289
291
  this.pure = pure;
@@ -311,8 +313,8 @@ class InvokeFunctionExpr extends Expression {
311
313
  class InstantiateExpr extends Expression {
312
314
  classExpr;
313
315
  args;
314
- constructor(classExpr, args, type, sourceSpan) {
315
- super(type, sourceSpan);
316
+ constructor(classExpr, args, type, sourceSpan, leadingComments) {
317
+ super(type, sourceSpan, leadingComments);
316
318
  this.classExpr = classExpr;
317
319
  this.args = args;
318
320
  }
@@ -333,8 +335,8 @@ class InstantiateExpr extends Expression {
333
335
  }
334
336
  class LiteralExpr extends Expression {
335
337
  value;
336
- constructor(value, type, sourceSpan) {
337
- super(type, sourceSpan);
338
+ constructor(value, type, sourceSpan, leadingComments) {
339
+ super(type, sourceSpan, leadingComments);
338
340
  this.value = value;
339
341
  }
340
342
  isEquivalent(e) {
@@ -354,8 +356,8 @@ class ConditionalExpr extends Expression {
354
356
  condition;
355
357
  falseCase;
356
358
  trueCase;
357
- constructor(condition, trueCase, falseCase = null, type, sourceSpan) {
358
- super(type || trueCase.type, sourceSpan);
359
+ constructor(condition, trueCase, falseCase = null, type, sourceSpan, leadingComments) {
360
+ super(type || trueCase.type, sourceSpan, leadingComments);
359
361
  this.condition = condition;
360
362
  this.falseCase = falseCase;
361
363
  this.trueCase = trueCase;
@@ -380,8 +382,8 @@ class BinaryOperatorExpr extends Expression {
380
382
  operator;
381
383
  rhs;
382
384
  lhs;
383
- constructor(operator, lhs, rhs, type, sourceSpan) {
384
- super(type || lhs.type, sourceSpan);
385
+ constructor(operator, lhs, rhs, type, sourceSpan, leadingComments) {
386
+ super(type || lhs.type, sourceSpan, leadingComments);
385
387
  this.operator = operator;
386
388
  this.rhs = rhs;
387
389
  this.lhs = lhs;
@@ -418,8 +420,8 @@ class BinaryOperatorExpr extends Expression {
418
420
  class ReadPropExpr extends Expression {
419
421
  receiver;
420
422
  name;
421
- constructor(receiver, name, type, sourceSpan) {
422
- super(type, sourceSpan);
423
+ constructor(receiver, name, type, sourceSpan, leadingComments) {
424
+ super(type, sourceSpan, leadingComments);
423
425
  this.receiver = receiver;
424
426
  this.name = name;
425
427
  }
@@ -446,8 +448,8 @@ class ReadPropExpr extends Expression {
446
448
  class ReadKeyExpr extends Expression {
447
449
  receiver;
448
450
  index;
449
- constructor(receiver, index, type, sourceSpan) {
450
- super(type, sourceSpan);
451
+ constructor(receiver, index, type, sourceSpan, leadingComments) {
452
+ super(type, sourceSpan, leadingComments);
451
453
  this.receiver = receiver;
452
454
  this.index = index;
453
455
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -115,12 +115,20 @@ function getPropertyRemovalRange(property) {
115
115
  }
116
116
  const properties = parent.properties;
117
117
  const propertyIndex = properties.indexOf(property);
118
- const end = property.getEnd();
119
- if (propertyIndex < properties.length - 1) {
120
- const nextProperty = properties[propertyIndex + 1];
121
- return { start: property.getStart(), end: nextProperty.getStart() };
118
+ if (properties.length === 1) {
119
+ const sourceFile = property.getSourceFile();
120
+ let end = property.getEnd();
121
+ const textAfter = sourceFile.text.substring(end, parent.getEnd());
122
+ const commaIndex = textAfter.indexOf(',');
123
+ if (commaIndex !== -1) {
124
+ end += commaIndex + 1;
125
+ }
126
+ return { start: property.getFullStart(), end };
127
+ }
128
+ if (propertyIndex === 0) {
129
+ return { start: property.getFullStart(), end: properties[1].getFullStart() };
122
130
  }
123
- return { start: property.getStart(), end };
131
+ return { start: properties[propertyIndex - 1].getEnd(), end: property.getEnd() };
124
132
  }
125
133
  function calculateImportReplacements(info, sourceFiles, filesToRemoveCommonModule) {
126
134
  const importReplacements = {};
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var migrate_ts_type_references = require('./migrate_ts_type_references-MWoZx-Cb.cjs');
9
+ var migrate_ts_type_references = require('./migrate_ts_type_references-Dp33iyGx.cjs');
10
10
  var ts = require('typescript');
11
11
  require('@angular/compiler-cli');
12
12
  var migrations = require('@angular/compiler-cli/private/migrations');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -12,7 +12,7 @@ require('@angular/compiler-cli');
12
12
  require('node:path');
13
13
  var project_paths = require('./project_paths-D2V-Uh2L.cjs');
14
14
  var apply_import_manager = require('./apply_import_manager-CxA_YYgB.cjs');
15
- var migrate_ts_type_references = require('./migrate_ts_type_references-MWoZx-Cb.cjs');
15
+ var migrate_ts_type_references = require('./migrate_ts_type_references-Dp33iyGx.cjs');
16
16
  var assert = require('assert');
17
17
  var index = require('./index-BtLcQH8g.cjs');
18
18
  var compiler = require('@angular/compiler');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -19,7 +19,7 @@ require('@angular-devkit/core');
19
19
  require('node:path/posix');
20
20
  require('./project_tsconfig_paths-DkkMibv-.cjs');
21
21
  require('./apply_import_manager-CxA_YYgB.cjs');
22
- require('./migrate_ts_type_references-MWoZx-Cb.cjs');
22
+ require('./migrate_ts_type_references-Dp33iyGx.cjs');
23
23
  require('assert');
24
24
  require('./index-BtLcQH8g.cjs');
25
25
  require('@angular/compiler');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.5
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.5
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import { OutputRef, OutputRefSubscription, DestroyRef, Signal, WritableSignal, ValueEqualityFn, Injector } from './_chrome_dev_tools_performance-chunk.js';
7
+ import { OutputRef, OutputRefSubscription, DestroyRef, Signal, ValueEqualityFn, Injector, WritableSignal } from './_chrome_dev_tools_performance-chunk.js';
8
8
 
9
9
  /**
10
10
  * An `OutputEmitterRef` is created by the `output()` function and can be
@@ -349,6 +349,11 @@ interface DebouncedOptions<T> {
349
349
  /** The equality function to use for comparing values. */
350
350
  equal?: ValueEqualityFn<T>;
351
351
  }
352
+ /**
353
+ * Represents the wait condition for item debouncing.
354
+ * Can be a number of milliseconds or a function that returns a Promise.
355
+ */
356
+ type DebounceTimer<T> = number | ((value: T, lastValue: ResourceSnapshot<T>) => Promise<void> | void);
352
357
 
353
358
  export { OutputEmitterRef, ResourceDependencyError, ResourceParamsStatus, getOutputDestroyRef, output };
354
- export type { BaseResourceOptions, DebouncedOptions, OutputOptions, PromiseResourceOptions, Resource, ResourceLoader, ResourceLoaderParams, ResourceOptions, ResourceParamsContext, ResourceRef, ResourceSnapshot, ResourceStatus, ResourceStreamItem, ResourceStreamingLoader, StreamingResourceOptions, WritableResource };
359
+ export type { BaseResourceOptions, DebounceTimer, DebouncedOptions, OutputOptions, PromiseResourceOptions, Resource, ResourceLoader, ResourceLoaderParams, ResourceOptions, ResourceParamsContext, ResourceRef, ResourceSnapshot, ResourceStatus, ResourceStreamItem, ResourceStreamingLoader, StreamingResourceOptions, WritableResource };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.5
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */