@angular/core 21.0.0-rc.1 → 21.0.0-rc.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.
- package/README.md +1 -2
- package/fesm2022/_attribute-chunk.mjs +1 -1
- package/fesm2022/_attribute-chunk.mjs.map +1 -1
- package/fesm2022/_debug_node-chunk.mjs +265 -222
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +11 -2
- package/fesm2022/_effect-chunk.mjs.map +1 -1
- package/fesm2022/_linked_signal-chunk.mjs +87 -0
- package/fesm2022/_linked_signal-chunk.mjs.map +1 -0
- package/fesm2022/_not_found-chunk.mjs +1 -1
- package/fesm2022/_not_found-chunk.mjs.map +1 -1
- package/fesm2022/_resource-chunk.mjs +7 -16
- package/fesm2022/_resource-chunk.mjs.map +1 -1
- package/fesm2022/_untracked-chunk.mjs +2922 -74
- 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 +8 -8
- 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 +6 -6
- package/fesm2022/primitives-signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +4 -4
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +24 -36
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/best-practices.md +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/schematics/bundles/signal-queries-migration.cjs +1 -1
- package/schematics/bundles/signals.cjs +1 -1
- package/schematics/bundles/standalone-migration.cjs +1 -1
- package/schematics/bundles/symbol-BObKoqes.cjs +1 -1
- package/types/_api-chunk.d.ts +8 -1
- package/types/_chrome_dev_tools_performance-chunk.d.ts +12 -2
- package/types/_discovery-chunk.d.ts +47 -7
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +1 -1
- package/types/_formatter-chunk.d.ts +2 -2
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +94 -62
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +1 -1
- package/types/primitives-signals.d.ts +6 -5
- package/types/rxjs-interop.d.ts +11 -1
- package/types/testing.d.ts +2 -2
- package/fesm2022/_effect-chunk2.mjs +0 -2940
- package/fesm2022/_effect-chunk2.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/core",
|
|
3
|
-
"version": "21.0.0-rc.
|
|
3
|
+
"version": "21.0.0-rc.3",
|
|
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": "21.0.0-rc.
|
|
49
|
+
"@angular/compiler": "21.0.0-rc.3",
|
|
50
50
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
51
51
|
"zone.js": "~0.15.0"
|
|
52
52
|
},
|
|
@@ -45,7 +45,7 @@ You are an expert in TypeScript, Angular, and scalable web application developme
|
|
|
45
45
|
- Keep templates simple and avoid complex logic
|
|
46
46
|
- Use native control flow (`@if`, `@for`, `@switch`) instead of `*ngIf`, `*ngFor`, `*ngSwitch`
|
|
47
47
|
- Use the async pipe to handle observables
|
|
48
|
-
- Do not assume globals like (`new Date()`) are available.
|
|
48
|
+
- Do not assume globals like (`new Date()`) are available.
|
|
49
49
|
- Do not write arrow functions in templates (they are not supported).
|
|
50
50
|
- Do not write Regular expressions in templates (they are not supported).
|
|
51
51
|
|
package/types/_api-chunk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-rc.
|
|
2
|
+
* @license Angular v21.0.0-rc.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -17,6 +17,8 @@ import { OutputRef, OutputRefSubscription, DestroyRef, Signal, WritableSignal, V
|
|
|
17
17
|
* <my-comp (valueChange)="processNewValue($event)" />
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
|
+
* @see [Custom events with outputs](guide/components/outputs)
|
|
21
|
+
*
|
|
20
22
|
* @publicAPI
|
|
21
23
|
*/
|
|
22
24
|
declare class OutputEmitterRef<T> implements OutputRef<T> {
|
|
@@ -34,6 +36,8 @@ declare function getOutputDestroyRef(ref: OutputRef<unknown>): DestroyRef | unde
|
|
|
34
36
|
/**
|
|
35
37
|
* Options for declaring an output.
|
|
36
38
|
*
|
|
39
|
+
* @see [Customizing output names](guide/components/outputs#customizing-output-names)
|
|
40
|
+
*
|
|
37
41
|
* @publicApi 19.0
|
|
38
42
|
*/
|
|
39
43
|
interface OutputOptions {
|
|
@@ -78,6 +82,9 @@ interface OutputOptions {
|
|
|
78
82
|
* this.nameChange.emit(newName);
|
|
79
83
|
* }
|
|
80
84
|
* ```
|
|
85
|
+
*
|
|
86
|
+
* @see [Custom events with outputs](guide/components/outputs#customizing-output-names)
|
|
87
|
+
*
|
|
81
88
|
* @initializerApiFunction {"showTypesInSignaturePreview": true}
|
|
82
89
|
* @publicApi 19.0
|
|
83
90
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-rc.
|
|
2
|
+
* @license Angular v21.0.0-rc.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -54,6 +54,7 @@ interface CreateSignalOptions<T> {
|
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Create a `Signal` that can be set or updated directly.
|
|
57
|
+
* @see [Angular Signals](guide/signals)
|
|
57
58
|
*/
|
|
58
59
|
declare function signal<T>(initialValue: T, options?: CreateSignalOptions<T>): WritableSignal<T>;
|
|
59
60
|
|
|
@@ -96,6 +97,8 @@ declare function isWritableSignal(value: unknown): value is WritableSignal<unkno
|
|
|
96
97
|
* Note: Angular will automatically clean up subscriptions
|
|
97
98
|
* when the directive/component of the output is destroyed.
|
|
98
99
|
*
|
|
100
|
+
* @see [Subscribing to outputs programmatically](guide/components/outputs#subscribing-to-outputs-programmatically)
|
|
101
|
+
*
|
|
99
102
|
* @publicAPI
|
|
100
103
|
*/
|
|
101
104
|
interface OutputRefSubscription {
|
|
@@ -105,6 +108,7 @@ interface OutputRefSubscription {
|
|
|
105
108
|
* A reference to an Angular output.
|
|
106
109
|
*
|
|
107
110
|
* @publicAPI
|
|
111
|
+
* @see [Subscribing to outputs programmatically](guide/components/outputs#subscribing-to-outputs-programmatically)
|
|
108
112
|
*/
|
|
109
113
|
interface OutputRef<T> {
|
|
110
114
|
/**
|
|
@@ -217,6 +221,9 @@ type Writable<T> = {
|
|
|
217
221
|
*
|
|
218
222
|
* {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}
|
|
219
223
|
*
|
|
224
|
+
*
|
|
225
|
+
* @see [What is an InjectionToken?](guide/di/defining-dependency-providers#what-is-an-injectiontoken)
|
|
226
|
+
*
|
|
220
227
|
* @publicApi
|
|
221
228
|
*/
|
|
222
229
|
declare class InjectionToken<T> {
|
|
@@ -665,6 +672,8 @@ type ProviderToken<T> = Type<T> | AbstractType<T> | InjectionToken<T>;
|
|
|
665
672
|
*
|
|
666
673
|
* {@example core/di/ts/injector_spec.ts region='injectInjector'}
|
|
667
674
|
*
|
|
675
|
+
* @see [Types of injector hierarchies](guide/di/hierarchical-dependency-injection#types-of-injector-hierarchies)
|
|
676
|
+
*
|
|
668
677
|
* @publicApi
|
|
669
678
|
*/
|
|
670
679
|
declare abstract class Injector {
|
|
@@ -828,9 +837,10 @@ declare global {
|
|
|
828
837
|
*
|
|
829
838
|
* Note: integration is enabled in the development mode only, this operation is noop in the production mode.
|
|
830
839
|
*
|
|
831
|
-
* @
|
|
840
|
+
* @publicApi v21.0
|
|
832
841
|
*
|
|
833
842
|
* @returns a function that can be invoked to stop sending profiling data.
|
|
843
|
+
* @see [Profiling with the Chrome DevTools](best-practices/profiling-with-chrome-devtools#recording-a-profile)
|
|
834
844
|
*/
|
|
835
845
|
declare function enableProfiling(): () => void;
|
|
836
846
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-rc.
|
|
2
|
+
* @license Angular v21.0.0-rc.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -44,6 +44,8 @@ declare const ANIMATIONS_DISABLED: InjectionToken<boolean>;
|
|
|
44
44
|
* The event type for when `animate.enter` and `animate.leave` are used with function
|
|
45
45
|
* callbacks.
|
|
46
46
|
*
|
|
47
|
+
* @see [Animating your applications with animate.enter and animate.leave](guide/animations)
|
|
48
|
+
*
|
|
47
49
|
* @publicApi 20.2
|
|
48
50
|
*/
|
|
49
51
|
type AnimationCallbackEvent = {
|
|
@@ -58,6 +60,7 @@ type AnimationCallbackEvent = {
|
|
|
58
60
|
* for when stylesheets are pruned.
|
|
59
61
|
*
|
|
60
62
|
* @publicApi 20.2
|
|
63
|
+
* @see [Animating your applications with animate.enter and animate.leave](guide/animations)
|
|
61
64
|
*/
|
|
62
65
|
declare const MAX_ANIMATION_TIMEOUT: InjectionToken<number>;
|
|
63
66
|
/**
|
|
@@ -1187,17 +1190,24 @@ declare const enum TNodeFlags {
|
|
|
1187
1190
|
*/
|
|
1188
1191
|
isInteropControl = 8192,
|
|
1189
1192
|
/**
|
|
1190
|
-
* Bit #15 - This bit is set if the node is a native control
|
|
1193
|
+
* Bit #15 - This bit is set if the node is a native control.
|
|
1194
|
+
*
|
|
1195
|
+
* This is used to determine whether we can bind common control properties to the host element of
|
|
1196
|
+
* a custom control when it doesn't define a corresponding input.
|
|
1197
|
+
*/
|
|
1198
|
+
isNativeControl = 16384,
|
|
1199
|
+
/**
|
|
1200
|
+
* Bit #16 - This bit is set if the node is a native control with a numeric type.
|
|
1191
1201
|
*
|
|
1192
1202
|
* This is used to determine whether the control supports the `min` and `max` properties.
|
|
1193
1203
|
*/
|
|
1194
|
-
isNativeNumericControl =
|
|
1204
|
+
isNativeNumericControl = 32768,
|
|
1195
1205
|
/**
|
|
1196
|
-
* Bit #
|
|
1206
|
+
* Bit #17 - This bit is set if the node is a native text control.
|
|
1197
1207
|
*
|
|
1198
1208
|
* This is used to determine whether control supports the `minLength` and `maxLength` properties.
|
|
1199
1209
|
*/
|
|
1200
|
-
isNativeTextControl =
|
|
1210
|
+
isNativeTextControl = 65536
|
|
1201
1211
|
}
|
|
1202
1212
|
/**
|
|
1203
1213
|
* Corresponds to the TNode.providerIndexes property.
|
|
@@ -2105,6 +2115,8 @@ declare const INJECTOR_SCOPE: InjectionToken<InjectorScope | null>;
|
|
|
2105
2115
|
* An `Injector` that's part of the environment injector hierarchy, which exists outside of the
|
|
2106
2116
|
* component tree.
|
|
2107
2117
|
*
|
|
2118
|
+
* @see [Types of injector hierarchies](guide/di/hierarchical-dependency-injection#types-of-injector-hierarchies)
|
|
2119
|
+
*
|
|
2108
2120
|
* @publicApi
|
|
2109
2121
|
*/
|
|
2110
2122
|
declare abstract class EnvironmentInjector implements Injector {
|
|
@@ -2266,8 +2278,10 @@ declare enum ViewEncapsulation {
|
|
|
2266
2278
|
* Similar to `ShadowDom`, but prevents any external styles from leaking into the
|
|
2267
2279
|
* component's ShadowRoot. This is useful when you want to ensure that the component's
|
|
2268
2280
|
* styles are completely isolated from the rest of the application, including global styles.
|
|
2281
|
+
*
|
|
2282
|
+
* @experimental 21.0
|
|
2269
2283
|
*/
|
|
2270
|
-
|
|
2284
|
+
ExperimentalIsolatedShadowDom = 4
|
|
2271
2285
|
}
|
|
2272
2286
|
|
|
2273
2287
|
/**
|
|
@@ -3184,12 +3198,16 @@ interface CreateEffectOptions {
|
|
|
3184
3198
|
* before the next effect run. The cleanup function makes it possible to "cancel" any work that the
|
|
3185
3199
|
* previous effect run might have started.
|
|
3186
3200
|
*
|
|
3201
|
+
* @see [Effect cleanup functions](guide/signals#effect-cleanup-functions)
|
|
3202
|
+
*
|
|
3187
3203
|
* @publicApi 20.0
|
|
3188
3204
|
*/
|
|
3189
3205
|
type EffectCleanupFn = () => void;
|
|
3190
3206
|
/**
|
|
3191
3207
|
* A callback passed to the effect function that makes it possible to register cleanup logic.
|
|
3192
3208
|
*
|
|
3209
|
+
* @see [Effect cleanup functions](guide/signals#effect-cleanup-functions)
|
|
3210
|
+
*
|
|
3193
3211
|
* @publicApi 20.0
|
|
3194
3212
|
*/
|
|
3195
3213
|
type EffectCleanupRegisterFn = (cleanupFn: EffectCleanupFn) => void;
|
|
@@ -3209,6 +3227,8 @@ type EffectCleanupRegisterFn = (cleanupFn: EffectCleanupFn) => void;
|
|
|
3209
3227
|
*
|
|
3210
3228
|
* `effect()` must be run in injection context, unless the `injector` option is manually specified.
|
|
3211
3229
|
*
|
|
3230
|
+
* @see [Effects](guide/signals#effects)
|
|
3231
|
+
*
|
|
3212
3232
|
* @publicApi 20.0
|
|
3213
3233
|
*/
|
|
3214
3234
|
declare function effect(effectFn: (onCleanup: EffectCleanupRegisterFn) => void, options?: CreateEffectOptions): EffectRef;
|
|
@@ -4769,6 +4789,12 @@ interface DirectiveDecorator {
|
|
|
4769
4789
|
/**
|
|
4770
4790
|
* Directive decorator and metadata.
|
|
4771
4791
|
*
|
|
4792
|
+
* @see [Built-in directives](guide/directives)
|
|
4793
|
+
* @see [Including inputs and outputs](guide/directives/directive-composition-api#including-inputs-and-outputs)
|
|
4794
|
+
* @see [Assigning a reference to an Angular directive](guide/templates/variables#assigning-a-reference-to-an-angular-directive)
|
|
4795
|
+
* @see [Referencing component children with queries](guide/components/queries)
|
|
4796
|
+
* @see [Binding to the host element](guide/components/host-elements#binding-to-the-host-element)
|
|
4797
|
+
* @see [Host directive semantics](guide/directives/directive-composition-api#host-directive-semantics)
|
|
4772
4798
|
* @Annotation
|
|
4773
4799
|
* @publicApi
|
|
4774
4800
|
*/
|
|
@@ -5170,6 +5196,11 @@ interface ComponentDecorator {
|
|
|
5170
5196
|
/**
|
|
5171
5197
|
* Supplies configuration metadata for an Angular component.
|
|
5172
5198
|
*
|
|
5199
|
+
* @see [Anatomy of a component](guide/components)
|
|
5200
|
+
* @see [ChangeDetectionStrategy](guide/components/advanced-configuration#changedetectionstrategy)
|
|
5201
|
+
* @see [Using the viewProviders array](guide/di/hierarchical-dependency-injection#using-the-viewproviders-array)
|
|
5202
|
+
* @see [Style scoping](guide/components/styling#style-scoping)
|
|
5203
|
+
*
|
|
5173
5204
|
* @publicApi
|
|
5174
5205
|
*/
|
|
5175
5206
|
interface Component extends Directive {
|
|
@@ -5310,7 +5341,7 @@ interface PipeDecorator {
|
|
|
5310
5341
|
* to a template. To make it a member of an NgModule,
|
|
5311
5342
|
* list it in the `declarations` field of the `NgModule` metadata.
|
|
5312
5343
|
*
|
|
5313
|
-
* @see [
|
|
5344
|
+
* @see [Pipes](/guide/templates/pipes)
|
|
5314
5345
|
*
|
|
5315
5346
|
*/
|
|
5316
5347
|
(obj: Pipe): TypeDecorator;
|
|
@@ -5785,6 +5816,7 @@ interface DirectiveWithBindings<T> {
|
|
|
5785
5816
|
* bindings: [inputBinding('disabled', isDisabled)]
|
|
5786
5817
|
* });
|
|
5787
5818
|
* ```
|
|
5819
|
+
* @see [Binding inputs, outputs and setting host directives at creation](guide/components/programmatic-rendering#binding-inputs-outputs-and-setting-host-directives-at-creation)
|
|
5788
5820
|
*/
|
|
5789
5821
|
declare function inputBinding(publicName: string, value: () => unknown): Binding;
|
|
5790
5822
|
/**
|
|
@@ -5807,6 +5839,7 @@ declare function inputBinding(publicName: string, value: () => unknown): Binding
|
|
|
5807
5839
|
* ],
|
|
5808
5840
|
* });
|
|
5809
5841
|
* ```
|
|
5842
|
+
* @see [Binding inputs, outputs and setting host directives at creation](guide/components/programmatic-rendering#binding-inputs-outputs-and-setting-host-directives-at-creation)
|
|
5810
5843
|
*/
|
|
5811
5844
|
declare function outputBinding<T>(eventName: string, listener: (event: T) => unknown): Binding;
|
|
5812
5845
|
/**
|
|
@@ -5828,6 +5861,7 @@ declare function outputBinding<T>(eventName: string, listener: (event: T) => unk
|
|
|
5828
5861
|
* ],
|
|
5829
5862
|
* });
|
|
5830
5863
|
* ```
|
|
5864
|
+
* @see [Binding inputs, outputs and setting host directives at creation](guide/components/programmatic-rendering#binding-inputs-outputs-and-setting-host-directives-at-creation)
|
|
5831
5865
|
*/
|
|
5832
5866
|
declare function twoWayBinding(publicName: string, value: WritableSignal<unknown>): Binding;
|
|
5833
5867
|
|
|
@@ -5841,6 +5875,8 @@ declare function twoWayBinding(publicName: string, value: WritableSignal<unknown
|
|
|
5841
5875
|
* XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the
|
|
5842
5876
|
* [Security Guide](https://g.co/ng/security).
|
|
5843
5877
|
*
|
|
5878
|
+
* @see [Using DOM APIs](guide/components/dom-apis)
|
|
5879
|
+
*
|
|
5844
5880
|
* @publicApi
|
|
5845
5881
|
*/
|
|
5846
5882
|
declare class ElementRef<T = any> {
|
|
@@ -6173,6 +6209,8 @@ declare abstract class ComponentFactory<C> {
|
|
|
6173
6209
|
* <zippy (open)="onOpen($event)" (close)="onClose($event)"></zippy>
|
|
6174
6210
|
* ```
|
|
6175
6211
|
*
|
|
6212
|
+
* @see [Declaring outputs with the @Output decorator](guide/components/outputs#declaring-outputs-with-the-output-decorator)
|
|
6213
|
+
*
|
|
6176
6214
|
* @publicApi
|
|
6177
6215
|
*/
|
|
6178
6216
|
interface EventEmitter<T> extends Subject<T>, OutputRef<T> {
|
|
@@ -6289,6 +6327,8 @@ declare const EventEmitter: {
|
|
|
6289
6327
|
* }
|
|
6290
6328
|
* ```
|
|
6291
6329
|
*
|
|
6330
|
+
* @see [Resolving zone pollution](best-practices/zone-pollution#run-tasks-outside-ngzone)
|
|
6331
|
+
*
|
|
6292
6332
|
* @publicApi
|
|
6293
6333
|
*/
|
|
6294
6334
|
declare class NgZone {
|
package/types/_effect-chunk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-rc.
|
|
2
|
+
* @license Angular v21.0.0-rc.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -212,4 +212,4 @@ declare global {
|
|
|
212
212
|
declare function installDevToolsSignalFormatter(): void;
|
|
213
213
|
|
|
214
214
|
export { REACTIVE_NODE, SIGNAL, consumerAfterComputation, consumerBeforeComputation, consumerDestroy, consumerMarkDirty, consumerPollProducersForChange, defaultEquals, finalizeConsumerAfterComputation, getActiveConsumer, installDevToolsSignalFormatter, isInNotificationPhase, isReactive, producerAccessed, producerIncrementEpoch, producerMarkClean, producerNotifyConsumers, producerUpdateValueVersion, producerUpdatesAllowed, resetConsumerBeforeComputation, runPostProducerCreatedFn, setActiveConsumer, setPostProducerCreatedFn };
|
|
215
|
-
export type { Reactive, ReactiveHookFn, ReactiveNode, ReactiveNodeKind, ValueEqualityFn };
|
|
215
|
+
export type { Reactive, ReactiveHookFn, ReactiveNode, ReactiveNodeKind, ValueEqualityFn, Version };
|