@angular/core 19.0.1 → 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 +289 -300
  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 +150 -139
  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-3cbc9cc1.js → checker-c58f97d2.js} +49 -50
  14. package/schematics/bundles/{combine_units-c36a3065.js → combine_units-605024c1.js} +3 -3
  15. package/schematics/bundles/{compiler_host-087c5caa.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 +5 -5
  18. package/schematics/bundles/{imports-4ac08251.js → imports-31a38653.js} +2 -2
  19. package/schematics/bundles/inject-migration.js +64 -43
  20. package/schematics/bundles/{leading_space-d190b83b.js → leading_space-6e7a8ec6.js} +1 -1
  21. package/schematics/bundles/{migrate_ts_type_references-bb0c286a.js → migrate_ts_type_references-596627c6.js} +9 -9
  22. package/schematics/bundles/{nodes-0e7d45ca.js → nodes-88c2157f.js} +2 -2
  23. package/schematics/bundles/output-migration.js +5 -5
  24. package/schematics/bundles/pending-tasks.js +5 -5
  25. package/schematics/bundles/{program-561595c4.js → program-fe7d9b66.js} +54 -30
  26. package/schematics/bundles/{project_tsconfig_paths-e9ccccbf.js → project_tsconfig_paths-6c9cde78.js} +1 -1
  27. package/schematics/bundles/provide-initializer.js +5 -5
  28. package/schematics/bundles/route-lazy-loading.js +4 -4
  29. package/schematics/bundles/signal-input-migration.js +8 -8
  30. package/schematics/bundles/signal-queries-migration.js +7 -7
  31. package/schematics/bundles/signals.js +7 -7
  32. package/schematics/bundles/standalone-migration.js +8 -8
  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.1",
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.1
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.1
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.1
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.1
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
  */
@@ -10693,6 +10693,7 @@ function createDeferOp(xref, main, mainSlot, ownResolverFn, resolverFn, sourceSp
10693
10693
  errorSlot: null,
10694
10694
  ownResolverFn,
10695
10695
  resolverFn,
10696
+ flags: null,
10696
10697
  sourceSpan,
10697
10698
  ...NEW_OP,
10698
10699
  ...TRAIT_CONSUMES_SLOT,
@@ -11446,14 +11447,14 @@ const MAX_CHAIN_LENGTH = 256;
11446
11447
  *
11447
11448
  * For example, two `elementStart` operations in sequence:
11448
11449
  *
11449
- * ```typescript
11450
+ * ```ts
11450
11451
  * elementStart(0, 'div');
11451
11452
  * elementStart(1, 'span');
11452
11453
  * ```
11453
11454
  *
11454
11455
  * Can be called as a chain instead:
11455
11456
  *
11456
- * ```typescript
11457
+ * ```ts
11457
11458
  * elementStart(0, 'div')(1, 'span');
11458
11459
  * ```
11459
11460
  */
@@ -20483,7 +20484,7 @@ const GOOG_GET_MSG = 'goog.getMsg';
20483
20484
  *
20484
20485
  * Generates:
20485
20486
  *
20486
- * ```typescript
20487
+ * ```ts
20487
20488
  * const MSG_FOO = goog.getMsg(
20488
20489
  * // Message template.
20489
20490
  * 'Sent from {$interpolation} to {$startTagSpan}{$interpolation_1}{$closeTagSpan}.',
@@ -20927,7 +20928,7 @@ function addSubMessageParams(messageOp, subMessagePlaceholders) {
20927
20928
  /**
20928
20929
  * Generate statements that define a given translation message.
20929
20930
  *
20930
- * ```
20931
+ * ```ts
20931
20932
  * var I18N_1;
20932
20933
  * if (typeof ngI18nClosureMode !== undefined && ngI18nClosureMode) {
20933
20934
  * var MSG_EXTERNAL_XXX = goog.getMsg(
@@ -20966,7 +20967,7 @@ function getTranslationDeclStmts(message, variable, closureVar, params, transfor
20966
20967
  * Create the expression that will be used to guard the closure mode block
20967
20968
  * It is equivalent to:
20968
20969
  *
20969
- * ```
20970
+ * ```ts
20970
20971
  * typeof ngI18nClosureMode !== undefined && ngI18nClosureMode
20971
20972
  * ```
20972
20973
  */
@@ -22110,7 +22111,7 @@ function text(slot, initialValue, sourceSpan) {
22110
22111
  }
22111
22112
  return call(Identifiers.text, args, sourceSpan);
22112
22113
  }
22113
- function defer(selfSlot, primarySlot, dependencyResolverFn, loadingSlot, placeholderSlot, errorSlot, loadingConfig, placeholderConfig, enableTimerScheduling, sourceSpan) {
22114
+ function defer(selfSlot, primarySlot, dependencyResolverFn, loadingSlot, placeholderSlot, errorSlot, loadingConfig, placeholderConfig, enableTimerScheduling, sourceSpan, flags) {
22114
22115
  const args = [
22115
22116
  literal$1(selfSlot),
22116
22117
  literal$1(primarySlot),
@@ -22121,6 +22122,7 @@ function defer(selfSlot, primarySlot, dependencyResolverFn, loadingSlot, placeho
22121
22122
  loadingConfig ?? literal$1(null),
22122
22123
  placeholderConfig ?? literal$1(null),
22123
22124
  enableTimerScheduling ? importExpr(Identifiers.deferEnableTimerScheduling) : literal$1(null),
22125
+ literal$1(flags),
22124
22126
  ];
22125
22127
  let expr;
22126
22128
  while ((expr = args[args.length - 1]) !== null &&
@@ -22714,7 +22716,7 @@ function reifyCreateOperations(unit, ops) {
22714
22716
  break;
22715
22717
  case OpKind.Defer:
22716
22718
  const timerScheduling = !!op.loadingMinimumTime || !!op.loadingAfterTime || !!op.placeholderMinimumTime;
22717
- OpList.replace(op, defer(op.handle.slot, op.mainSlot.slot, op.resolverFn, op.loadingSlot?.slot ?? null, op.placeholderSlot?.slot ?? null, op.errorSlot?.slot ?? null, op.loadingConfig, op.placeholderConfig, timerScheduling, op.sourceSpan));
22719
+ OpList.replace(op, defer(op.handle.slot, op.mainSlot.slot, op.resolverFn, op.loadingSlot?.slot ?? null, op.placeholderSlot?.slot ?? null, op.errorSlot?.slot ?? null, op.loadingConfig, op.placeholderConfig, timerScheduling, op.sourceSpan, op.flags));
22718
22720
  break;
22719
22721
  case OpKind.DeferOn:
22720
22722
  let args = [];
@@ -25293,6 +25295,7 @@ function ingestDeferBlock(unit, deferBlock) {
25293
25295
  deferOp.placeholderMinimumTime = deferBlock.placeholder?.minimumTime ?? null;
25294
25296
  deferOp.loadingMinimumTime = deferBlock.loading?.minimumTime ?? null;
25295
25297
  deferOp.loadingAfterTime = deferBlock.loading?.afterTime ?? null;
25298
+ deferOp.flags = calcDeferBlockFlags(deferBlock);
25296
25299
  unit.create.push(deferOp);
25297
25300
  // Configure all defer `on` conditions.
25298
25301
  // TODO: refactor prefetch triggers to use a separate op type, with a shared superclass. This will
@@ -25312,6 +25315,12 @@ function ingestDeferBlock(unit, deferBlock) {
25312
25315
  unit.create.push(deferOnOps);
25313
25316
  unit.update.push(deferWhenOps);
25314
25317
  }
25318
+ function calcDeferBlockFlags(deferBlockDetails) {
25319
+ if (Object.keys(deferBlockDetails.hydrateTriggers).length > 0) {
25320
+ return 1 /* ir.TDeferDetailsFlags.HasHydrateTriggers */;
25321
+ }
25322
+ return null;
25323
+ }
25315
25324
  function ingestDeferTriggers(modifier, triggers, onOps, whenOps, unit, deferXref) {
25316
25325
  if (triggers.idle !== undefined) {
25317
25326
  const deferOnOp = createDeferOnOp(deferXref, { kind: DeferTriggerKind.Idle }, modifier, triggers.idle.sourceSpan);
@@ -26039,7 +26048,7 @@ const queryAdvancePlaceholder = Symbol('queryAdvancePlaceholder');
26039
26048
  *
26040
26049
  * --> will turn into
26041
26050
  *
26042
- * ```
26051
+ * ```ts
26043
26052
  * bla();
26044
26053
  * queryAdvance(2);
26045
26054
  * bla();
@@ -26161,13 +26170,11 @@ class BindingParser {
26161
26170
  _interpolationConfig;
26162
26171
  _schemaRegistry;
26163
26172
  errors;
26164
- _allowInvalidAssignmentEvents;
26165
- constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors, _allowInvalidAssignmentEvents = false) {
26173
+ constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
26166
26174
  this._exprParser = _exprParser;
26167
26175
  this._interpolationConfig = _interpolationConfig;
26168
26176
  this._schemaRegistry = _schemaRegistry;
26169
26177
  this.errors = errors;
26170
- this._allowInvalidAssignmentEvents = _allowInvalidAssignmentEvents;
26171
26178
  }
26172
26179
  get interpolationConfig() {
26173
26180
  return this._interpolationConfig;
@@ -26551,16 +26558,7 @@ class BindingParser {
26551
26558
  if (ast instanceof PropertyRead || ast instanceof KeyedRead) {
26552
26559
  return true;
26553
26560
  }
26554
- // TODO(crisbeto): this logic is only here to support the automated migration away
26555
- // from invalid bindings. It should be removed once the migration is deleted.
26556
- if (!this._allowInvalidAssignmentEvents) {
26557
- return false;
26558
- }
26559
- if (ast instanceof Binary) {
26560
- return ((ast.operation === '&&' || ast.operation === '||' || ast.operation === '??') &&
26561
- (ast.right instanceof PropertyRead || ast.right instanceof KeyedRead));
26562
- }
26563
- return ast instanceof Conditional || ast instanceof PrefixNot;
26561
+ return false;
26564
26562
  }
26565
26563
  }
26566
26564
  function isAnimationLabel(name) {
@@ -28184,8 +28182,8 @@ const LEADING_TRIVIA_CHARS = [' ', '\n', '\r', '\t'];
28184
28182
  * @param options options to modify how the template is parsed
28185
28183
  */
28186
28184
  function parseTemplate(template, templateUrl, options = {}) {
28187
- const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat, allowInvalidAssignmentEvents, } = options;
28188
- const bindingParser = makeBindingParser(interpolationConfig, allowInvalidAssignmentEvents);
28185
+ const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
28186
+ const bindingParser = makeBindingParser(interpolationConfig);
28189
28187
  const htmlParser = new HtmlParser();
28190
28188
  const parseResult = htmlParser.parse(template, templateUrl, {
28191
28189
  leadingTriviaChars: LEADING_TRIVIA_CHARS,
@@ -28291,8 +28289,8 @@ const elementRegistry = new DomElementSchemaRegistry();
28291
28289
  /**
28292
28290
  * Construct a `BindingParser` with a default configuration.
28293
28291
  */
28294
- function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, allowInvalidAssignmentEvents = false) {
28295
- return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
28292
+ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
28293
+ return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
28296
28294
  }
28297
28295
 
28298
28296
  const COMPONENT_VARIABLE = '%COMP%';
@@ -30323,7 +30321,7 @@ function publishFacade(global) {
30323
30321
  * @description
30324
30322
  * Entry point for all public APIs of the compiler package.
30325
30323
  */
30326
- new Version('19.0.1');
30324
+ new Version('19.0.3');
30327
30325
 
30328
30326
  const _I18N_ATTR = 'i18n';
30329
30327
  const _I18N_ATTR_PREFIX = 'i18n-';
@@ -31058,7 +31056,7 @@ exports.ErrorCode = void 0;
31058
31056
  * The tracking expression of a `for` loop block is accessing a variable that is unavailable,
31059
31057
  * for example:
31060
31058
  *
31061
- * ```
31059
+ * ```angular-html
31062
31060
  * <ng-template let-ref>
31063
31061
  * @for (item of items; track ref) {}
31064
31062
  * </ng-template>
@@ -31069,7 +31067,7 @@ exports.ErrorCode = void 0;
31069
31067
  * The trigger of a `defer` block cannot access its trigger element,
31070
31068
  * either because it doesn't exist or it's in a different view.
31071
31069
  *
31072
- * ```
31070
+ * ```angular-html
31073
31071
  * @defer (on interaction(trigger)) {...}
31074
31072
  *
31075
31073
  * <ng-template>
@@ -31082,7 +31080,7 @@ exports.ErrorCode = void 0;
31082
31080
  * A control flow node is projected at the root of a component and is preventing its direct
31083
31081
  * descendants from being projected, because it has more than one root node.
31084
31082
  *
31085
- * ```
31083
+ * ```angular-html
31086
31084
  * <comp>
31087
31085
  * @if (expr) {
31088
31086
  * <div projectsIntoSlot></div>
@@ -31117,7 +31115,7 @@ exports.ErrorCode = void 0;
31117
31115
  * A two way binding in a template has an incorrect syntax,
31118
31116
  * parentheses outside brackets. For example:
31119
31117
  *
31120
- * ```
31118
+ * ```html
31121
31119
  * <div ([foo])="bar" />
31122
31120
  * ```
31123
31121
  */
@@ -31125,7 +31123,7 @@ exports.ErrorCode = void 0;
31125
31123
  /**
31126
31124
  * The left side of a nullish coalescing operation is not nullable.
31127
31125
  *
31128
- * ```
31126
+ * ```html
31129
31127
  * {{ foo ?? bar }}
31130
31128
  * ```
31131
31129
  * When the type of foo doesn't include `null` or `undefined`.
@@ -31140,7 +31138,7 @@ exports.ErrorCode = void 0;
31140
31138
  * A text attribute is not interpreted as a binding but likely intended to be.
31141
31139
  *
31142
31140
  * For example:
31143
- * ```
31141
+ * ```html
31144
31142
  * <div
31145
31143
  * attr.x="value"
31146
31144
  * class.blue="true"
@@ -31157,7 +31155,7 @@ exports.ErrorCode = void 0;
31157
31155
  * in their statement.
31158
31156
  *
31159
31157
  * For example:
31160
- * ```
31158
+ * ```html
31161
31159
  * <ul><li *ngFor="item of items">{{item["name"]}};</li></ul>
31162
31160
  * ```
31163
31161
  */
@@ -31176,7 +31174,7 @@ exports.ErrorCode = void 0;
31176
31174
  /**
31177
31175
  * The left side of an optional chain operation is not nullable.
31178
31176
  *
31179
- * ```
31177
+ * ```html
31180
31178
  * {{ foo?.bar }}
31181
31179
  * {{ foo?.['bar'] }}
31182
31180
  * {{ foo?.() }}
@@ -31188,7 +31186,7 @@ exports.ErrorCode = void 0;
31188
31186
  * `ngSkipHydration` should not be a binding (it should be a static attribute).
31189
31187
  *
31190
31188
  * For example:
31191
- * ```
31189
+ * ```html
31192
31190
  * <my-cmp [ngSkipHydration]="someTruthyVar" />
31193
31191
  * ```
31194
31192
  *
@@ -31200,7 +31198,7 @@ exports.ErrorCode = void 0;
31200
31198
  * Signal functions should be invoked when interpolated in templates.
31201
31199
  *
31202
31200
  * For example:
31203
- * ```
31201
+ * ```html
31204
31202
  * {{ mySignal() }}
31205
31203
  * ```
31206
31204
  */
@@ -31208,7 +31206,7 @@ exports.ErrorCode = void 0;
31208
31206
  /**
31209
31207
  * Initializer-based APIs can only be invoked from inside of an initializer.
31210
31208
  *
31211
- * ```
31209
+ * ```ts
31212
31210
  * // Allowed
31213
31211
  * myInput = input();
31214
31212
  *
@@ -31223,7 +31221,7 @@ exports.ErrorCode = void 0;
31223
31221
  * A function in an event binding is not called.
31224
31222
  *
31225
31223
  * For example:
31226
- * ```
31224
+ * ```html
31227
31225
  * <button (click)="myFunc"></button>
31228
31226
  * ```
31229
31227
  *
@@ -31235,7 +31233,7 @@ exports.ErrorCode = void 0;
31235
31233
  * A `@let` declaration in a template isn't used.
31236
31234
  *
31237
31235
  * For example:
31238
- * ```
31236
+ * ```angular-html
31239
31237
  * @let used = 1; <!-- Not an error -->
31240
31238
  * @let notUsed = 2; <!-- Error -->
31241
31239
  *
@@ -31731,7 +31729,7 @@ class NodeJSPathManipulation {
31731
31729
  // G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
31732
31730
  // CommonJS/ESM interop for determining the current file name and containing dir.
31733
31731
  const isCommonJS = typeof __filename !== 'undefined';
31734
- 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-3cbc9cc1.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));
31735
31733
  const currentFileName = isCommonJS ? __filename : url.fileURLToPath(currentFileUrl);
31736
31734
  /**
31737
31735
  * A wrapper around the Node.js file-system that supports readonly operations and path manipulation.
@@ -32340,7 +32338,7 @@ const patchedReferencedAliasesSymbol = Symbol('patchedReferencedAliases');
32340
32338
  * results in a slow-down due to the type checker being involved multiple times. The CLI worked
32341
32339
  * around this import preserving issue by having another complex post-process step that detects and
32342
32340
  * elides unused imports. Note that these unused imports could cause unused chunks being generated
32343
- * by Webpack if the application or library is not marked as side-effect free.
32341
+ * by webpack if the application or library is not marked as side-effect free.
32344
32342
  *
32345
32343
  * This is not ideal though, as we basically re-implement the complex import usage resolution
32346
32344
  * from TypeScript. We can do better by letting TypeScript do the import eliding, but providing
@@ -36541,7 +36539,7 @@ function canEmitType(type, canEmit) {
36541
36539
  *
36542
36540
  * For example, consider the following code:
36543
36541
  *
36544
- * ```
36542
+ * ```ts
36545
36543
  * import {NgIterable} from '@angular/core';
36546
36544
  *
36547
36545
  * class NgForOf<T, U extends NgIterable<T>> {}
@@ -36553,7 +36551,7 @@ function canEmitType(type, canEmit) {
36553
36551
  * `NgIterable` type reference to a type reference that is valid in the context in which it is
36554
36552
  * emitted, for example:
36555
36553
  *
36556
- * ```
36554
+ * ```ts
36557
36555
  * import * as i0 from '@angular/core';
36558
36556
  * import * as i1 from '@angular/common';
36559
36557
  *
@@ -40243,7 +40241,7 @@ function requiresInlineTypeCtor(node, host, env) {
40243
40241
  * fails. This can happen when inferring a complex type from 'any'. For example, if `NgFor`'s
40244
40242
  * inference is done with the TCB code:
40245
40243
  *
40246
- * ```
40244
+ * ```ts
40247
40245
  * class NgFor<T> {
40248
40246
  * ngForOf: T[];
40249
40247
  * }
@@ -40254,14 +40252,14 @@ function requiresInlineTypeCtor(node, host, env) {
40254
40252
  *
40255
40253
  * An invocation looks like:
40256
40254
  *
40257
- * ```
40255
+ * ```ts
40258
40256
  * var _t1 = ctor({ngForOf: [1, 2], ngForTrackBy: null as any, ngForTemplate: null as any});
40259
40257
  * ```
40260
40258
  *
40261
40259
  * This correctly infers the type `NgFor<number>` for `_t1`, since `T` is inferred from the
40262
40260
  * assignment of type `number[]` to `ngForOf`'s type `T[]`. However, if `any` is passed instead:
40263
40261
  *
40264
- * ```
40262
+ * ```ts
40265
40263
  * var _t2 = ctor({ngForOf: [1, 2] as any, ngForTrackBy: null as any, ngForTemplate: null as
40266
40264
  * any});
40267
40265
  * ```
@@ -40272,7 +40270,7 @@ function requiresInlineTypeCtor(node, host, env) {
40272
40270
  * Adding a default type to the generic declaration in the constructor solves this problem, as
40273
40271
  * the default type will be used in the event that inference fails.
40274
40272
  *
40275
- * ```
40273
+ * ```ts
40276
40274
  * declare function ctor<T = any>(o: Pick<NgFor<T>, 'ngForOf'>): NgFor<T>;
40277
40275
  *
40278
40276
  * var _t3 = ctor({ngForOf: [1, 2] as any});
@@ -41662,7 +41660,7 @@ class TcbGenericDirectiveTypeWithAnyParamsOp extends TcbDirectiveTypeOpBase {
41662
41660
  * The initializer for the variable is the variable expression for the directive, template, or
41663
41661
  * element the ref refers to. When the reference is used in the template, those TCB statements will
41664
41662
  * access this variable as well. For example:
41665
- * ```
41663
+ * ```ts
41666
41664
  * var _t1 = document.createElement('div');
41667
41665
  * var _t2 = _t1;
41668
41666
  * _t2.value
@@ -45815,6 +45813,7 @@ exports.DEFAULT_INTERPOLATION_CONFIG = DEFAULT_INTERPOLATION_CONFIG;
45815
45813
  exports.DYNAMIC_TYPE = DYNAMIC_TYPE;
45816
45814
  exports.Declaration = Declaration;
45817
45815
  exports.DeclareFunctionStmt = DeclareFunctionStmt;
45816
+ exports.DeclareVarStmt = DeclareVarStmt;
45818
45817
  exports.DefaultImportTracker = DefaultImportTracker;
45819
45818
  exports.DefinitionMap = DefinitionMap;
45820
45819
  exports.DomElementSchemaRegistry = DomElementSchemaRegistry;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.1
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-3cbc9cc1.js');
14
- var program = require('./program-561595c4.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.1
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-3cbc9cc1.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.1
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-087c5caa.js');
14
- var checker = require('./checker-3cbc9cc1.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.1
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 project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
14
- var compiler_host = require('./compiler_host-087c5caa.js');
13
+ var project_tsconfig_paths = require('./project_tsconfig_paths-6c9cde78.js');
14
+ var compiler_host = require('./compiler_host-f5d588fe.js');
15
15
  var ts = require('typescript');
16
- var imports = require('./imports-4ac08251.js');
16
+ var imports = require('./imports-31a38653.js');
17
17
  require('@angular-devkit/core');
18
- require('./checker-3cbc9cc1.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.1
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
  * ```