@angular/core 19.0.2 → 19.0.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.
Files changed (33) hide show
  1. package/fesm2022/core.mjs +91 -93
  2. package/fesm2022/core.mjs.map +1 -1
  3. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  4. package/fesm2022/primitives/signals.mjs +1 -1
  5. package/fesm2022/rxjs-interop.mjs +1 -1
  6. package/fesm2022/testing.mjs +8 -8
  7. package/fesm2022/testing.mjs.map +1 -1
  8. package/index.d.ts +95 -102
  9. package/package.json +1 -1
  10. package/primitives/event-dispatch/index.d.ts +1 -1
  11. package/primitives/signals/index.d.ts +1 -1
  12. package/rxjs-interop/index.d.ts +1 -1
  13. package/schematics/bundles/{checker-a00b735e.js → checker-c58f97d2.js} +30 -30
  14. package/schematics/bundles/{combine_units-60865867.js → combine_units-605024c1.js} +3 -3
  15. package/schematics/bundles/{compiler_host-3e96c3f7.js → compiler_host-f5d588fe.js} +2 -2
  16. package/schematics/bundles/control-flow-migration.js +3 -3
  17. package/schematics/bundles/explicit-standalone-flag.js +4 -4
  18. package/schematics/bundles/{imports-44987700.js → imports-31a38653.js} +2 -2
  19. package/schematics/bundles/inject-migration.js +9 -9
  20. package/schematics/bundles/leading_space-6e7a8ec6.js +1 -1
  21. package/schematics/bundles/{migrate_ts_type_references-676612f5.js → migrate_ts_type_references-596627c6.js} +8 -8
  22. package/schematics/bundles/{nodes-b12e919a.js → nodes-88c2157f.js} +2 -2
  23. package/schematics/bundles/output-migration.js +4 -4
  24. package/schematics/bundles/pending-tasks.js +4 -4
  25. package/schematics/bundles/{program-a6be5d4a.js → program-fe7d9b66.js} +12 -12
  26. package/schematics/bundles/project_tsconfig_paths-6c9cde78.js +1 -1
  27. package/schematics/bundles/provide-initializer.js +4 -4
  28. package/schematics/bundles/route-lazy-loading.js +3 -3
  29. package/schematics/bundles/signal-input-migration.js +6 -6
  30. package/schematics/bundles/signal-queries-migration.js +5 -5
  31. package/schematics/bundles/signals.js +5 -5
  32. package/schematics/bundles/standalone-migration.js +7 -7
  33. package/testing/index.d.ts +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "19.0.2",
3
+ "version": "19.0.3",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.2
2
+ * @license Angular v19.0.3
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.2
2
+ * @license Angular v19.0.3
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.2
2
+ * @license Angular v19.0.3
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -3776,7 +3776,7 @@ function convertFromMaybeForwardRefExpression({ expression, forwardRef, }) {
3776
3776
  /**
3777
3777
  * Generate an expression that has the given `expr` wrapped in the following form:
3778
3778
  *
3779
- * ```
3779
+ * ```ts
3780
3780
  * forwardRef(() => expr)
3781
3781
  * ```
3782
3782
  */
@@ -11447,14 +11447,14 @@ const MAX_CHAIN_LENGTH = 256;
11447
11447
  *
11448
11448
  * For example, two `elementStart` operations in sequence:
11449
11449
  *
11450
- * ```typescript
11450
+ * ```ts
11451
11451
  * elementStart(0, 'div');
11452
11452
  * elementStart(1, 'span');
11453
11453
  * ```
11454
11454
  *
11455
11455
  * Can be called as a chain instead:
11456
11456
  *
11457
- * ```typescript
11457
+ * ```ts
11458
11458
  * elementStart(0, 'div')(1, 'span');
11459
11459
  * ```
11460
11460
  */
@@ -20484,7 +20484,7 @@ const GOOG_GET_MSG = 'goog.getMsg';
20484
20484
  *
20485
20485
  * Generates:
20486
20486
  *
20487
- * ```typescript
20487
+ * ```ts
20488
20488
  * const MSG_FOO = goog.getMsg(
20489
20489
  * // Message template.
20490
20490
  * 'Sent from {$interpolation} to {$startTagSpan}{$interpolation_1}{$closeTagSpan}.',
@@ -20928,7 +20928,7 @@ function addSubMessageParams(messageOp, subMessagePlaceholders) {
20928
20928
  /**
20929
20929
  * Generate statements that define a given translation message.
20930
20930
  *
20931
- * ```
20931
+ * ```ts
20932
20932
  * var I18N_1;
20933
20933
  * if (typeof ngI18nClosureMode !== undefined && ngI18nClosureMode) {
20934
20934
  * var MSG_EXTERNAL_XXX = goog.getMsg(
@@ -20967,7 +20967,7 @@ function getTranslationDeclStmts(message, variable, closureVar, params, transfor
20967
20967
  * Create the expression that will be used to guard the closure mode block
20968
20968
  * It is equivalent to:
20969
20969
  *
20970
- * ```
20970
+ * ```ts
20971
20971
  * typeof ngI18nClosureMode !== undefined && ngI18nClosureMode
20972
20972
  * ```
20973
20973
  */
@@ -26048,7 +26048,7 @@ const queryAdvancePlaceholder = Symbol('queryAdvancePlaceholder');
26048
26048
  *
26049
26049
  * --> will turn into
26050
26050
  *
26051
- * ```
26051
+ * ```ts
26052
26052
  * bla();
26053
26053
  * queryAdvance(2);
26054
26054
  * bla();
@@ -30321,7 +30321,7 @@ function publishFacade(global) {
30321
30321
  * @description
30322
30322
  * Entry point for all public APIs of the compiler package.
30323
30323
  */
30324
- new Version('19.0.2');
30324
+ new Version('19.0.3');
30325
30325
 
30326
30326
  const _I18N_ATTR = 'i18n';
30327
30327
  const _I18N_ATTR_PREFIX = 'i18n-';
@@ -31056,7 +31056,7 @@ exports.ErrorCode = void 0;
31056
31056
  * The tracking expression of a `for` loop block is accessing a variable that is unavailable,
31057
31057
  * for example:
31058
31058
  *
31059
- * ```
31059
+ * ```angular-html
31060
31060
  * <ng-template let-ref>
31061
31061
  * @for (item of items; track ref) {}
31062
31062
  * </ng-template>
@@ -31067,7 +31067,7 @@ exports.ErrorCode = void 0;
31067
31067
  * The trigger of a `defer` block cannot access its trigger element,
31068
31068
  * either because it doesn't exist or it's in a different view.
31069
31069
  *
31070
- * ```
31070
+ * ```angular-html
31071
31071
  * @defer (on interaction(trigger)) {...}
31072
31072
  *
31073
31073
  * <ng-template>
@@ -31080,7 +31080,7 @@ exports.ErrorCode = void 0;
31080
31080
  * A control flow node is projected at the root of a component and is preventing its direct
31081
31081
  * descendants from being projected, because it has more than one root node.
31082
31082
  *
31083
- * ```
31083
+ * ```angular-html
31084
31084
  * <comp>
31085
31085
  * @if (expr) {
31086
31086
  * <div projectsIntoSlot></div>
@@ -31115,7 +31115,7 @@ exports.ErrorCode = void 0;
31115
31115
  * A two way binding in a template has an incorrect syntax,
31116
31116
  * parentheses outside brackets. For example:
31117
31117
  *
31118
- * ```
31118
+ * ```html
31119
31119
  * <div ([foo])="bar" />
31120
31120
  * ```
31121
31121
  */
@@ -31123,7 +31123,7 @@ exports.ErrorCode = void 0;
31123
31123
  /**
31124
31124
  * The left side of a nullish coalescing operation is not nullable.
31125
31125
  *
31126
- * ```
31126
+ * ```html
31127
31127
  * {{ foo ?? bar }}
31128
31128
  * ```
31129
31129
  * When the type of foo doesn't include `null` or `undefined`.
@@ -31138,7 +31138,7 @@ exports.ErrorCode = void 0;
31138
31138
  * A text attribute is not interpreted as a binding but likely intended to be.
31139
31139
  *
31140
31140
  * For example:
31141
- * ```
31141
+ * ```html
31142
31142
  * <div
31143
31143
  * attr.x="value"
31144
31144
  * class.blue="true"
@@ -31155,7 +31155,7 @@ exports.ErrorCode = void 0;
31155
31155
  * in their statement.
31156
31156
  *
31157
31157
  * For example:
31158
- * ```
31158
+ * ```html
31159
31159
  * <ul><li *ngFor="item of items">{{item["name"]}};</li></ul>
31160
31160
  * ```
31161
31161
  */
@@ -31174,7 +31174,7 @@ exports.ErrorCode = void 0;
31174
31174
  /**
31175
31175
  * The left side of an optional chain operation is not nullable.
31176
31176
  *
31177
- * ```
31177
+ * ```html
31178
31178
  * {{ foo?.bar }}
31179
31179
  * {{ foo?.['bar'] }}
31180
31180
  * {{ foo?.() }}
@@ -31186,7 +31186,7 @@ exports.ErrorCode = void 0;
31186
31186
  * `ngSkipHydration` should not be a binding (it should be a static attribute).
31187
31187
  *
31188
31188
  * For example:
31189
- * ```
31189
+ * ```html
31190
31190
  * <my-cmp [ngSkipHydration]="someTruthyVar" />
31191
31191
  * ```
31192
31192
  *
@@ -31198,7 +31198,7 @@ exports.ErrorCode = void 0;
31198
31198
  * Signal functions should be invoked when interpolated in templates.
31199
31199
  *
31200
31200
  * For example:
31201
- * ```
31201
+ * ```html
31202
31202
  * {{ mySignal() }}
31203
31203
  * ```
31204
31204
  */
@@ -31206,7 +31206,7 @@ exports.ErrorCode = void 0;
31206
31206
  /**
31207
31207
  * Initializer-based APIs can only be invoked from inside of an initializer.
31208
31208
  *
31209
- * ```
31209
+ * ```ts
31210
31210
  * // Allowed
31211
31211
  * myInput = input();
31212
31212
  *
@@ -31221,7 +31221,7 @@ exports.ErrorCode = void 0;
31221
31221
  * A function in an event binding is not called.
31222
31222
  *
31223
31223
  * For example:
31224
- * ```
31224
+ * ```html
31225
31225
  * <button (click)="myFunc"></button>
31226
31226
  * ```
31227
31227
  *
@@ -31233,7 +31233,7 @@ exports.ErrorCode = void 0;
31233
31233
  * A `@let` declaration in a template isn't used.
31234
31234
  *
31235
31235
  * For example:
31236
- * ```
31236
+ * ```angular-html
31237
31237
  * @let used = 1; <!-- Not an error -->
31238
31238
  * @let notUsed = 2; <!-- Error -->
31239
31239
  *
@@ -31729,7 +31729,7 @@ class NodeJSPathManipulation {
31729
31729
  // G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
31730
31730
  // CommonJS/ESM interop for determining the current file name and containing dir.
31731
31731
  const isCommonJS = typeof __filename !== 'undefined';
31732
- const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('checker-a00b735e.js', document.baseURI).href));
31732
+ const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('checker-c58f97d2.js', document.baseURI).href));
31733
31733
  const currentFileName = isCommonJS ? __filename : url.fileURLToPath(currentFileUrl);
31734
31734
  /**
31735
31735
  * A wrapper around the Node.js file-system that supports readonly operations and path manipulation.
@@ -36539,7 +36539,7 @@ function canEmitType(type, canEmit) {
36539
36539
  *
36540
36540
  * For example, consider the following code:
36541
36541
  *
36542
- * ```
36542
+ * ```ts
36543
36543
  * import {NgIterable} from '@angular/core';
36544
36544
  *
36545
36545
  * class NgForOf<T, U extends NgIterable<T>> {}
@@ -36551,7 +36551,7 @@ function canEmitType(type, canEmit) {
36551
36551
  * `NgIterable` type reference to a type reference that is valid in the context in which it is
36552
36552
  * emitted, for example:
36553
36553
  *
36554
- * ```
36554
+ * ```ts
36555
36555
  * import * as i0 from '@angular/core';
36556
36556
  * import * as i1 from '@angular/common';
36557
36557
  *
@@ -40241,7 +40241,7 @@ function requiresInlineTypeCtor(node, host, env) {
40241
40241
  * fails. This can happen when inferring a complex type from 'any'. For example, if `NgFor`'s
40242
40242
  * inference is done with the TCB code:
40243
40243
  *
40244
- * ```
40244
+ * ```ts
40245
40245
  * class NgFor<T> {
40246
40246
  * ngForOf: T[];
40247
40247
  * }
@@ -40252,14 +40252,14 @@ function requiresInlineTypeCtor(node, host, env) {
40252
40252
  *
40253
40253
  * An invocation looks like:
40254
40254
  *
40255
- * ```
40255
+ * ```ts
40256
40256
  * var _t1 = ctor({ngForOf: [1, 2], ngForTrackBy: null as any, ngForTemplate: null as any});
40257
40257
  * ```
40258
40258
  *
40259
40259
  * This correctly infers the type `NgFor<number>` for `_t1`, since `T` is inferred from the
40260
40260
  * assignment of type `number[]` to `ngForOf`'s type `T[]`. However, if `any` is passed instead:
40261
40261
  *
40262
- * ```
40262
+ * ```ts
40263
40263
  * var _t2 = ctor({ngForOf: [1, 2] as any, ngForTrackBy: null as any, ngForTemplate: null as
40264
40264
  * any});
40265
40265
  * ```
@@ -40270,7 +40270,7 @@ function requiresInlineTypeCtor(node, host, env) {
40270
40270
  * Adding a default type to the generic declaration in the constructor solves this problem, as
40271
40271
  * the default type will be used in the event that inference fails.
40272
40272
  *
40273
- * ```
40273
+ * ```ts
40274
40274
  * declare function ctor<T = any>(o: Pick<NgFor<T>, 'ngForOf'>): NgFor<T>;
40275
40275
  *
40276
40276
  * var _t3 = ctor({ngForOf: [1, 2] as any});
@@ -41660,7 +41660,7 @@ class TcbGenericDirectiveTypeWithAnyParamsOp extends TcbDirectiveTypeOpBase {
41660
41660
  * The initializer for the variable is the variable expression for the directive, template, or
41661
41661
  * element the ref refers to. When the reference is used in the template, those TCB statements will
41662
41662
  * access this variable as well. For example:
41663
- * ```
41663
+ * ```ts
41664
41664
  * var _t1 = document.createElement('div');
41665
41665
  * var _t2 = _t1;
41666
41666
  * _t2.value
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -10,8 +10,8 @@ var core = require('@angular-devkit/core');
10
10
  var posixPath = require('node:path/posix');
11
11
  var os = require('os');
12
12
  var ts = require('typescript');
13
- var checker = require('./checker-a00b735e.js');
14
- var program = require('./program-a6be5d4a.js');
13
+ var checker = require('./checker-c58f97d2.js');
14
+ var program = require('./program-fe7d9b66.js');
15
15
  require('path');
16
16
 
17
17
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
9
  var ts = require('typescript');
10
- var checker = require('./checker-a00b735e.js');
10
+ var checker = require('./checker-c58f97d2.js');
11
11
  require('os');
12
12
  var p = require('path');
13
13
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -10,8 +10,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
 
11
11
  var schematics = require('@angular-devkit/schematics');
12
12
  var p = require('path');
13
- var compiler_host = require('./compiler_host-3e96c3f7.js');
14
- var checker = require('./checker-a00b735e.js');
13
+ var compiler_host = require('./compiler_host-f5d588fe.js');
14
+ var checker = require('./checker-c58f97d2.js');
15
15
  var ts = require('typescript');
16
16
  require('os');
17
17
  require('fs');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -11,11 +11,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
  var schematics = require('@angular-devkit/schematics');
12
12
  var p = require('path');
13
13
  var project_tsconfig_paths = require('./project_tsconfig_paths-6c9cde78.js');
14
- var compiler_host = require('./compiler_host-3e96c3f7.js');
14
+ var compiler_host = require('./compiler_host-f5d588fe.js');
15
15
  var ts = require('typescript');
16
- var imports = require('./imports-44987700.js');
16
+ var imports = require('./imports-31a38653.js');
17
17
  require('@angular-devkit/core');
18
- require('./checker-a00b735e.js');
18
+ require('./checker-c58f97d2.js');
19
19
  require('os');
20
20
  require('fs');
21
21
  require('module');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -37,7 +37,7 @@ function getImportOfIdentifier(typeChecker, node) {
37
37
  * Gets a top-level import specifier with a specific name that is imported from a particular module.
38
38
  * E.g. given a file that looks like:
39
39
  *
40
- * ```
40
+ * ```ts
41
41
  * import { Component, Directive } from '@angular/core';
42
42
  * import { Foo } from './foo';
43
43
  * ```
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -10,12 +10,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
 
11
11
  var schematics = require('@angular-devkit/schematics');
12
12
  var p = require('path');
13
- var compiler_host = require('./compiler_host-3e96c3f7.js');
13
+ var compiler_host = require('./compiler_host-f5d588fe.js');
14
14
  var ts = require('typescript');
15
- var nodes = require('./nodes-b12e919a.js');
16
- var imports = require('./imports-44987700.js');
15
+ var nodes = require('./nodes-88c2157f.js');
16
+ var imports = require('./imports-31a38653.js');
17
17
  var leading_space = require('./leading_space-6e7a8ec6.js');
18
- require('./checker-a00b735e.js');
18
+ require('./checker-c58f97d2.js');
19
19
  require('os');
20
20
  require('fs');
21
21
  require('module');
@@ -346,7 +346,7 @@ function findSuperCall(root) {
346
346
  * Finds class property declarations without initializers whose constructor-based initialization
347
347
  * can be inlined into the declaration spot after migrating to `inject`. For example:
348
348
  *
349
- * ```
349
+ * ```ts
350
350
  * private foo: number;
351
351
  *
352
352
  * constructor(private service: MyService) {
@@ -413,7 +413,7 @@ function findUninitializedPropertiesToCombine(node, constructor, localTypeChecke
413
413
  * The internal-specific migration will combine such properties which will result in a compilation
414
414
  * error, for example:
415
415
  *
416
- * ```
416
+ * ```ts
417
417
  * class MyClass {
418
418
  * foo: Foo;
419
419
  * bar: Bar;
@@ -427,7 +427,7 @@ function findUninitializedPropertiesToCombine(node, constructor, localTypeChecke
427
427
  *
428
428
  * Will become:
429
429
  *
430
- * ```
430
+ * ```ts
431
431
  * class MyClass {
432
432
  * foo: Foo = this.bar.getFoo();
433
433
  * bar: Bar = inject(Bar);
@@ -481,7 +481,7 @@ function shouldCombineInInitializationOrder(toCombine, constructor) {
481
481
  /**
482
482
  * Finds the expressions from the constructor that initialize class members, for example:
483
483
  *
484
- * ```
484
+ * ```ts
485
485
  * private foo: number;
486
486
  *
487
487
  * constructor() {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var checker = require('./checker-a00b735e.js');
9
+ var checker = require('./checker-c58f97d2.js');
10
10
  var ts = require('typescript');
11
11
  require('os');
12
12
  var assert = require('assert');
13
- var combine_units = require('./combine_units-60865867.js');
13
+ var combine_units = require('./combine_units-605024c1.js');
14
14
  var leading_space = require('./leading_space-6e7a8ec6.js');
15
- require('./program-a6be5d4a.js');
15
+ require('./program-fe7d9b66.js');
16
16
  require('path');
17
17
 
18
18
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -816,7 +816,7 @@ class GroupedTsAstVisitor {
816
816
  * Phase that propagates incompatibilities to derived classes or
817
817
  * base classes. For example, consider:
818
818
  *
819
- * ```
819
+ * ```ts
820
820
  * class Base {
821
821
  * bla = true;
822
822
  * }
@@ -1556,7 +1556,7 @@ function getFlowNode(node) {
1556
1556
  *
1557
1557
  * E.g. consider the following snippet:
1558
1558
  *
1559
- * ```
1559
+ * ```ts
1560
1560
  * someMethod() {
1561
1561
  * if (this.bla) {
1562
1562
  * this.bla.charAt(0);
@@ -1837,7 +1837,7 @@ function migrateStandardTsReference(tsReferencesWithNarrowing, checker, info, re
1837
1837
  * The phase takes care of control flow analysis and generates temporary variables
1838
1838
  * where needed to ensure narrowing continues to work. E.g.
1839
1839
  *
1840
- * ```
1840
+ * ```ts
1841
1841
  * someMethod() {
1842
1842
  * if (this.input) {
1843
1843
  * this.input.charAt(0);
@@ -1847,7 +1847,7 @@ function migrateStandardTsReference(tsReferencesWithNarrowing, checker, info, re
1847
1847
  *
1848
1848
  * will be transformed into:
1849
1849
  *
1850
- * ```
1850
+ * ```ts
1851
1851
  * someMethod() {
1852
1852
  * const input_1 = this.input();
1853
1853
  * if (input_1) {
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
9
  var ts = require('typescript');
10
- var imports = require('./imports-44987700.js');
10
+ var imports = require('./imports-31a38653.js');
11
11
 
12
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
13
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -10,11 +10,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
 
11
11
  var schematics = require('@angular-devkit/schematics');
12
12
  var project_tsconfig_paths = require('./project_tsconfig_paths-6c9cde78.js');
13
- var combine_units = require('./combine_units-60865867.js');
13
+ var combine_units = require('./combine_units-605024c1.js');
14
14
  require('os');
15
15
  var ts = require('typescript');
16
- var checker = require('./checker-a00b735e.js');
17
- var program = require('./program-a6be5d4a.js');
16
+ var checker = require('./checker-c58f97d2.js');
17
+ var program = require('./program-fe7d9b66.js');
18
18
  require('path');
19
19
  require('@angular-devkit/core');
20
20
  require('node:path/posix');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.2
3
+ * @license Angular v19.0.3
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -11,11 +11,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
  var schematics = require('@angular-devkit/schematics');
12
12
  var p = require('path');
13
13
  var project_tsconfig_paths = require('./project_tsconfig_paths-6c9cde78.js');
14
- var compiler_host = require('./compiler_host-3e96c3f7.js');
14
+ var compiler_host = require('./compiler_host-f5d588fe.js');
15
15
  var ts = require('typescript');
16
- var imports = require('./imports-44987700.js');
16
+ var imports = require('./imports-31a38653.js');
17
17
  require('@angular-devkit/core');
18
- require('./checker-a00b735e.js');
18
+ require('./checker-c58f97d2.js');
19
19
  require('os');
20
20
  require('fs');
21
21
  require('module');