@angular/core 21.0.6 → 21.0.7
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/fesm2022/_attribute-chunk.mjs +1 -1
- package/fesm2022/_attribute-chunk.mjs.map +1 -1
- package/fesm2022/_debug_node-chunk.mjs +121 -91
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +3 -3
- package/fesm2022/_effect-chunk.mjs.map +1 -1
- package/fesm2022/_linked_signal-chunk.mjs +2 -2
- package/fesm2022/_linked_signal-chunk.mjs.map +1 -1
- package/fesm2022/_not_found-chunk.mjs +1 -1
- package/fesm2022/_not_found-chunk.mjs.map +1 -1
- package/fesm2022/_resource-chunk.mjs +1 -1
- package/fesm2022/_resource-chunk.mjs.map +1 -1
- package/fesm2022/_untracked-chunk.mjs +2 -2
- package/fesm2022/_untracked-chunk.mjs.map +1 -1
- package/fesm2022/_weak_ref-chunk.mjs +1 -1
- package/fesm2022/_weak_ref-chunk.mjs.map +1 -1
- package/fesm2022/core.mjs +4 -4
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives-di.mjs +1 -1
- package/fesm2022/primitives-di.mjs.map +1 -1
- package/fesm2022/primitives-event-dispatch.mjs +1 -1
- package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives-signals.mjs +1 -1
- package/fesm2022/primitives-signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +1 -1
- package/schematics/bundles/application-config-core.cjs +1 -1
- package/schematics/bundles/apply_import_manager-1Zs_gpB6.cjs +1 -1
- package/schematics/bundles/bootstrap-options-migration.cjs +1 -1
- package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
- package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
- package/schematics/bundles/compiler_host-DBwYMlTo.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/imports-DP72APSx.cjs +1 -1
- package/schematics/bundles/{index-B7I9sIUx.cjs → index-CP6pC5TJ.cjs} +2 -2
- package/schematics/bundles/inject-migration.cjs +1 -1
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-UGIUl7En.cjs → migrate_ts_type_references--PJz69_w.cjs} +2 -2
- package/schematics/bundles/ng_component_template-Dsuq1Lw7.cjs +1 -1
- package/schematics/bundles/ng_decorators-DSFlWYQY.cjs +1 -1
- package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
- package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +2 -2
- package/schematics/bundles/parse_html-8VLCL37B.cjs +1 -1
- package/schematics/bundles/project_paths-DvD50ouC.cjs +1 -1
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +1 -1
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +1 -1
- package/schematics/bundles/router-current-navigation.cjs +1 -1
- package/schematics/bundles/router-last-successful-navigation.cjs +1 -1
- package/schematics/bundles/router-testing-module-migration.cjs +1 -1
- package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
- package/schematics/bundles/signal-input-migration.cjs +3 -3
- package/schematics/bundles/signal-queries-migration.cjs +3 -3
- package/schematics/bundles/signals.cjs +3 -3
- package/schematics/bundles/standalone-migration.cjs +1 -1
- package/schematics/bundles/symbol-BObKoqes.cjs +1 -1
- package/types/_api-chunk.d.ts +1 -1
- package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
- package/types/_discovery-chunk.d.ts +7 -5
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +1 -1
- package/types/_formatter-chunk.d.ts +1 -1
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +28 -25
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +1 -1
- package/types/primitives-signals.d.ts +1 -1
- package/types/rxjs-interop.d.ts +1 -1
- package/types/testing.d.ts +7 -7
package/types/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.
|
|
2
|
+
* @license Angular v21.0.7
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -965,6 +965,7 @@ interface ContentChildrenDecorator {
|
|
|
965
965
|
* {@example core/di/ts/contentChildren/content_children_example.ts region='Component'}
|
|
966
966
|
*
|
|
967
967
|
* @Annotation
|
|
968
|
+
* @see [Content queries](guide/components/queries#decorator-content-queries)
|
|
968
969
|
*/
|
|
969
970
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
970
971
|
descendants?: boolean;
|
|
@@ -1057,6 +1058,7 @@ interface ContentChildDecorator {
|
|
|
1057
1058
|
* {@example core/di/ts/contentChild/content_child_example.ts region='Component'}
|
|
1058
1059
|
*
|
|
1059
1060
|
* @Annotation
|
|
1061
|
+
* @see [Content queries](guide/components/queries#decorator-content-queries)
|
|
1060
1062
|
*/
|
|
1061
1063
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
1062
1064
|
descendants?: boolean;
|
|
@@ -1142,6 +1144,7 @@ interface ViewChildrenDecorator {
|
|
|
1142
1144
|
* {@example core/di/ts/viewChildren/view_children_example.ts region='Component'}
|
|
1143
1145
|
*
|
|
1144
1146
|
* @Annotation
|
|
1147
|
+
* @see [View queries](guide/components/queries#decorator-view-queries)
|
|
1145
1148
|
*/
|
|
1146
1149
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
1147
1150
|
read?: any;
|
|
@@ -1225,6 +1228,7 @@ interface ViewChildDecorator {
|
|
|
1225
1228
|
* {@example core/di/ts/viewChild/view_child_howto.ts region='HowTo'}
|
|
1226
1229
|
*
|
|
1227
1230
|
* @Annotation
|
|
1231
|
+
* @see [View queries](guide/components/queries#decorator-view-queries)
|
|
1228
1232
|
*/
|
|
1229
1233
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
1230
1234
|
read?: any;
|
|
@@ -3516,6 +3520,8 @@ declare function getNgModuleById<T>(id: string): Type$1<T>;
|
|
|
3516
3520
|
*
|
|
3517
3521
|
* @see {@link ViewContainerRef}
|
|
3518
3522
|
*
|
|
3523
|
+
* @see [Getting a reference to a template fragment](guide/templates/ng-template#getting-a-reference-to-a-template-fragment)
|
|
3524
|
+
*
|
|
3519
3525
|
* @publicApi
|
|
3520
3526
|
*/
|
|
3521
3527
|
declare class TemplateRef<C> {
|
|
@@ -3587,6 +3593,7 @@ declare class TemplateRef<C> {
|
|
|
3587
3593
|
*
|
|
3588
3594
|
* @see {@link ComponentRef}
|
|
3589
3595
|
* @see {@link EmbeddedViewRef}
|
|
3596
|
+
* @see [Using ViewContainerRef](guide/components/programmatic-rendering#using-viewcontainerref)
|
|
3590
3597
|
*
|
|
3591
3598
|
* @publicApi
|
|
3592
3599
|
*/
|
|
@@ -4495,6 +4502,7 @@ declare const platformCore: (extraProviders?: StaticProvider[] | undefined) => P
|
|
|
4495
4502
|
* ```
|
|
4496
4503
|
*
|
|
4497
4504
|
* @publicApi
|
|
4505
|
+
* @see [Import global variants of the locale data](guide/i18n/import-global-variants)
|
|
4498
4506
|
*/
|
|
4499
4507
|
declare const LOCALE_ID: InjectionToken<string>;
|
|
4500
4508
|
/**
|
|
@@ -4891,6 +4899,10 @@ declare const enum RuntimeErrorCode {
|
|
|
4891
4899
|
NO_COMPONENT_FACTORY_FOUND = 917,
|
|
4892
4900
|
EXTERNAL_RESOURCE_LOADING_FAILED = 918,
|
|
4893
4901
|
DEF_TYPE_UNDEFINED = -919,
|
|
4902
|
+
NG_MODULE_ID_NOT_FOUND = 920,
|
|
4903
|
+
DUPLICATE_NG_MODULE_ID = 921,
|
|
4904
|
+
VIEW_DESTROYED_INSERT_ERROR = 922,
|
|
4905
|
+
VIEW_DESTROYED_MOVE_ERROR = 923,
|
|
4894
4906
|
REQUIRED_INPUT_NO_VALUE = -950,
|
|
4895
4907
|
REQUIRED_QUERY_NO_VALUE = -951,
|
|
4896
4908
|
REQUIRED_MODEL_NO_VALUE = 952,
|
|
@@ -5122,7 +5134,7 @@ declare function registerLocaleData(data: any, localeId?: string | any, extraDat
|
|
|
5122
5134
|
*
|
|
5123
5135
|
* @param locale The locale code.
|
|
5124
5136
|
* @returns The locale data.
|
|
5125
|
-
* @see [Internationalization (i18n) Guide](
|
|
5137
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
5126
5138
|
*/
|
|
5127
5139
|
declare function findLocaleData(locale: string): any;
|
|
5128
5140
|
/**
|
|
@@ -5573,7 +5585,7 @@ declare const PERFORMANCE_MARK_PREFIX = "\uD83C\uDD70\uFE0F";
|
|
|
5573
5585
|
* Function that will start measuring against the performance API
|
|
5574
5586
|
* Should be used in pair with stopMeasuring
|
|
5575
5587
|
*/
|
|
5576
|
-
declare function startMeasuring
|
|
5588
|
+
declare function startMeasuring(label: string): void;
|
|
5577
5589
|
/**
|
|
5578
5590
|
* Function that will stop measuring against the performance API
|
|
5579
5591
|
* Should be used in pair with startMeasuring
|
|
@@ -5740,7 +5752,7 @@ declare class DehydratedBlockRegistry {
|
|
|
5740
5752
|
* to avoid calling `setTimeout` for each defer block (e.g. if defer blocks
|
|
5741
5753
|
* are created inside a for loop).
|
|
5742
5754
|
*/
|
|
5743
|
-
declare class TimerScheduler {
|
|
5755
|
+
declare class TimerScheduler implements OnDestroy {
|
|
5744
5756
|
executingCallbacks: boolean;
|
|
5745
5757
|
timeoutId: number | null;
|
|
5746
5758
|
invokeTimerAt: number | null;
|
|
@@ -5763,7 +5775,8 @@ declare class TimerScheduler {
|
|
|
5763
5775
|
*/
|
|
5764
5776
|
declare function ɵassertType<T>(value: unknown): asserts value is T;
|
|
5765
5777
|
|
|
5766
|
-
|
|
5778
|
+
/** Tracks the IDs of LViews with leaving animations. */
|
|
5779
|
+
declare const allLeavingAnimations: Set<number>;
|
|
5767
5780
|
|
|
5768
5781
|
declare function compileNgModuleFactory<M>(injector: Injector, options: CompilerOptions, moduleType: Type$1<M>): Promise<NgModuleFactory$1<M>>;
|
|
5769
5782
|
|
|
@@ -6649,7 +6662,7 @@ declare function ɵɵcontrolCreate(): void;
|
|
|
6649
6662
|
*
|
|
6650
6663
|
* @codeGenApi
|
|
6651
6664
|
*/
|
|
6652
|
-
declare function ɵɵcontrol<T>(value: T, sanitizer?: SanitizerFn | null): void;
|
|
6665
|
+
declare function ɵɵcontrol<T>(value: T, name: string, sanitizer?: SanitizerFn | null): void;
|
|
6653
6666
|
/**
|
|
6654
6667
|
* Calls {@link updateControl} with the current `LView` and selected `TNode`.
|
|
6655
6668
|
*
|
|
@@ -8095,12 +8108,11 @@ declare function ɵɵpipeBindV(index: number, slotOffset: number, values: [any,
|
|
|
8095
8108
|
*
|
|
8096
8109
|
* @param slotOffset the offset from binding root to the reserved slot
|
|
8097
8110
|
* @param pureFn Function that returns a value
|
|
8098
|
-
* @param thisArg Optional calling context of pureFn
|
|
8099
8111
|
* @returns value
|
|
8100
8112
|
*
|
|
8101
8113
|
* @codeGenApi
|
|
8102
8114
|
*/
|
|
8103
|
-
declare function ɵɵpureFunction0<T>(slotOffset: number, pureFn: () => T
|
|
8115
|
+
declare function ɵɵpureFunction0<T>(slotOffset: number, pureFn: () => T): T;
|
|
8104
8116
|
/**
|
|
8105
8117
|
* If the value of the provided exp has changed, calls the pure function to return
|
|
8106
8118
|
* an updated value. Or if the value has not changed, returns cached value.
|
|
@@ -8108,12 +8120,11 @@ declare function ɵɵpureFunction0<T>(slotOffset: number, pureFn: () => T, thisA
|
|
|
8108
8120
|
* @param slotOffset the offset from binding root to the reserved slot
|
|
8109
8121
|
* @param pureFn Function that returns an updated value
|
|
8110
8122
|
* @param exp Updated expression value
|
|
8111
|
-
* @param thisArg Optional calling context of pureFn
|
|
8112
8123
|
* @returns Updated or cached value
|
|
8113
8124
|
*
|
|
8114
8125
|
* @codeGenApi
|
|
8115
8126
|
*/
|
|
8116
|
-
declare function ɵɵpureFunction1(slotOffset: number, pureFn: (v: any) => any, exp: any
|
|
8127
|
+
declare function ɵɵpureFunction1(slotOffset: number, pureFn: (v: any) => any, exp: any): any;
|
|
8117
8128
|
/**
|
|
8118
8129
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
8119
8130
|
* an updated value. Or if no values have changed, returns cached value.
|
|
@@ -8122,12 +8133,11 @@ declare function ɵɵpureFunction1(slotOffset: number, pureFn: (v: any) => any,
|
|
|
8122
8133
|
* @param pureFn
|
|
8123
8134
|
* @param exp1
|
|
8124
8135
|
* @param exp2
|
|
8125
|
-
* @param thisArg Optional calling context of pureFn
|
|
8126
8136
|
* @returns Updated or cached value
|
|
8127
8137
|
*
|
|
8128
8138
|
* @codeGenApi
|
|
8129
8139
|
*/
|
|
8130
|
-
declare function ɵɵpureFunction2(slotOffset: number, pureFn: (v1: any, v2: any) => any, exp1: any, exp2: any
|
|
8140
|
+
declare function ɵɵpureFunction2(slotOffset: number, pureFn: (v1: any, v2: any) => any, exp1: any, exp2: any): any;
|
|
8131
8141
|
/**
|
|
8132
8142
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
8133
8143
|
* an updated value. Or if no values have changed, returns cached value.
|
|
@@ -8137,12 +8147,11 @@ declare function ɵɵpureFunction2(slotOffset: number, pureFn: (v1: any, v2: any
|
|
|
8137
8147
|
* @param exp1
|
|
8138
8148
|
* @param exp2
|
|
8139
8149
|
* @param exp3
|
|
8140
|
-
* @param thisArg Optional calling context of pureFn
|
|
8141
8150
|
* @returns Updated or cached value
|
|
8142
8151
|
*
|
|
8143
8152
|
* @codeGenApi
|
|
8144
8153
|
*/
|
|
8145
|
-
declare function ɵɵpureFunction3(slotOffset: number, pureFn: (v1: any, v2: any, v3: any) => any, exp1: any, exp2: any, exp3: any
|
|
8154
|
+
declare function ɵɵpureFunction3(slotOffset: number, pureFn: (v1: any, v2: any, v3: any) => any, exp1: any, exp2: any, exp3: any): any;
|
|
8146
8155
|
/**
|
|
8147
8156
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
8148
8157
|
* an updated value. Or if no values have changed, returns cached value.
|
|
@@ -8153,7 +8162,6 @@ declare function ɵɵpureFunction3(slotOffset: number, pureFn: (v1: any, v2: any
|
|
|
8153
8162
|
* @param exp2
|
|
8154
8163
|
* @param exp3
|
|
8155
8164
|
* @param exp4
|
|
8156
|
-
* @param thisArg Optional calling context of pureFn
|
|
8157
8165
|
* @returns Updated or cached value
|
|
8158
8166
|
*
|
|
8159
8167
|
* @codeGenApi
|
|
@@ -8170,12 +8178,11 @@ declare function ɵɵpureFunction4(slotOffset: number, pureFn: (v1: any, v2: any
|
|
|
8170
8178
|
* @param exp3
|
|
8171
8179
|
* @param exp4
|
|
8172
8180
|
* @param exp5
|
|
8173
|
-
* @param thisArg Optional calling context of pureFn
|
|
8174
8181
|
* @returns Updated or cached value
|
|
8175
8182
|
*
|
|
8176
8183
|
* @codeGenApi
|
|
8177
8184
|
*/
|
|
8178
|
-
declare function ɵɵpureFunction5(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any
|
|
8185
|
+
declare function ɵɵpureFunction5(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any): any;
|
|
8179
8186
|
/**
|
|
8180
8187
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
8181
8188
|
* an updated value. Or if no values have changed, returns cached value.
|
|
@@ -8188,12 +8195,11 @@ declare function ɵɵpureFunction5(slotOffset: number, pureFn: (v1: any, v2: any
|
|
|
8188
8195
|
* @param exp4
|
|
8189
8196
|
* @param exp5
|
|
8190
8197
|
* @param exp6
|
|
8191
|
-
* @param thisArg Optional calling context of pureFn
|
|
8192
8198
|
* @returns Updated or cached value
|
|
8193
8199
|
*
|
|
8194
8200
|
* @codeGenApi
|
|
8195
8201
|
*/
|
|
8196
|
-
declare function ɵɵpureFunction6(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any
|
|
8202
|
+
declare function ɵɵpureFunction6(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any): any;
|
|
8197
8203
|
/**
|
|
8198
8204
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
8199
8205
|
* an updated value. Or if no values have changed, returns cached value.
|
|
@@ -8207,12 +8213,11 @@ declare function ɵɵpureFunction6(slotOffset: number, pureFn: (v1: any, v2: any
|
|
|
8207
8213
|
* @param exp5
|
|
8208
8214
|
* @param exp6
|
|
8209
8215
|
* @param exp7
|
|
8210
|
-
* @param thisArg Optional calling context of pureFn
|
|
8211
8216
|
* @returns Updated or cached value
|
|
8212
8217
|
*
|
|
8213
8218
|
* @codeGenApi
|
|
8214
8219
|
*/
|
|
8215
|
-
declare function ɵɵpureFunction7(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any
|
|
8220
|
+
declare function ɵɵpureFunction7(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any): any;
|
|
8216
8221
|
/**
|
|
8217
8222
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
8218
8223
|
* an updated value. Or if no values have changed, returns cached value.
|
|
@@ -8227,12 +8232,11 @@ declare function ɵɵpureFunction7(slotOffset: number, pureFn: (v1: any, v2: any
|
|
|
8227
8232
|
* @param exp6
|
|
8228
8233
|
* @param exp7
|
|
8229
8234
|
* @param exp8
|
|
8230
|
-
* @param thisArg Optional calling context of pureFn
|
|
8231
8235
|
* @returns Updated or cached value
|
|
8232
8236
|
*
|
|
8233
8237
|
* @codeGenApi
|
|
8234
8238
|
*/
|
|
8235
|
-
declare function ɵɵpureFunction8(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any, v8: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any, exp8: any
|
|
8239
|
+
declare function ɵɵpureFunction8(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any, v8: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any, exp8: any): any;
|
|
8236
8240
|
/**
|
|
8237
8241
|
* pureFunction instruction that can support any number of bindings.
|
|
8238
8242
|
*
|
|
@@ -8243,12 +8247,11 @@ declare function ɵɵpureFunction8(slotOffset: number, pureFn: (v1: any, v2: any
|
|
|
8243
8247
|
* @param pureFn A pure function that takes binding values and builds an object or array
|
|
8244
8248
|
* containing those values.
|
|
8245
8249
|
* @param exps An array of binding values
|
|
8246
|
-
* @param thisArg Optional calling context of pureFn
|
|
8247
8250
|
* @returns Updated or cached value
|
|
8248
8251
|
*
|
|
8249
8252
|
* @codeGenApi
|
|
8250
8253
|
*/
|
|
8251
|
-
declare function ɵɵpureFunctionV(slotOffset: number, pureFn: (...v: any[]) => any, exps: any[]
|
|
8254
|
+
declare function ɵɵpureFunctionV(slotOffset: number, pureFn: (...v: any[]) => any, exps: any[]): any;
|
|
8252
8255
|
|
|
8253
8256
|
/**
|
|
8254
8257
|
*
|
package/types/primitives-di.d.ts
CHANGED
package/types/rxjs-interop.d.ts
CHANGED
package/types/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.
|
|
2
|
+
* @license Angular v21.0.7
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -147,7 +147,7 @@ declare class ComponentFixture<T> {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
* IMPORTANT: This API requires Zone.js
|
|
150
|
+
* IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
|
|
151
151
|
*
|
|
152
152
|
* Clears out the shared fake async zone for a test.
|
|
153
153
|
* To be called in a global `beforeEach`.
|
|
@@ -156,7 +156,7 @@ declare class ComponentFixture<T> {
|
|
|
156
156
|
*/
|
|
157
157
|
declare function resetFakeAsyncZone(): void;
|
|
158
158
|
/**
|
|
159
|
-
* IMPORTANT: This API requires Zone.js
|
|
159
|
+
* IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
|
|
160
160
|
*
|
|
161
161
|
* Wraps a function to be executed in the `fakeAsync` zone:
|
|
162
162
|
* - Microtasks are manually executed by calling `flushMicrotasks()`.
|
|
@@ -185,7 +185,7 @@ declare function fakeAsync(fn: Function, options?: {
|
|
|
185
185
|
flush?: boolean;
|
|
186
186
|
}): (...args: any[]) => any;
|
|
187
187
|
/**
|
|
188
|
-
* IMPORTANT: This API requires Zone.js
|
|
188
|
+
* IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
|
|
189
189
|
*
|
|
190
190
|
* Simulates the asynchronous passage of time for the timers in the `fakeAsync` zone.
|
|
191
191
|
*
|
|
@@ -254,7 +254,7 @@ declare function tick(millis?: number, tickOptions?: {
|
|
|
254
254
|
processNewMacroTasksSynchronously: boolean;
|
|
255
255
|
}): void;
|
|
256
256
|
/**
|
|
257
|
-
* IMPORTANT: This API requires Zone.js
|
|
257
|
+
* IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
|
|
258
258
|
*
|
|
259
259
|
* Flushes any pending microtasks and simulates the asynchronous passage of time for the timers in
|
|
260
260
|
* the `fakeAsync` zone by
|
|
@@ -268,7 +268,7 @@ declare function tick(millis?: number, tickOptions?: {
|
|
|
268
268
|
*/
|
|
269
269
|
declare function flush(maxTurns?: number): number;
|
|
270
270
|
/**
|
|
271
|
-
* IMPORTANT: This API requires Zone.js
|
|
271
|
+
* IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
|
|
272
272
|
*
|
|
273
273
|
* Discard all remaining periodic tasks.
|
|
274
274
|
*
|
|
@@ -276,7 +276,7 @@ declare function flush(maxTurns?: number): number;
|
|
|
276
276
|
*/
|
|
277
277
|
declare function discardPeriodicTasks(): void;
|
|
278
278
|
/**
|
|
279
|
-
* IMPORTANT: This API requires Zone.js
|
|
279
|
+
* IMPORTANT: This API requires Zone.js and cannot be used with the Vitest test runner
|
|
280
280
|
*
|
|
281
281
|
* Flush any pending microtasks.
|
|
282
282
|
*
|