@angular/core 21.0.0-rc.2 → 21.0.0
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/_debug_node-chunk.mjs +25 -17
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +1 -1
- package/fesm2022/_linked_signal-chunk.mjs +1 -1
- package/fesm2022/_not_found-chunk.mjs +1 -1
- package/fesm2022/_resource-chunk.mjs +4 -9
- 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/core.mjs +1 -1
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives-di.mjs +1 -1
- package/fesm2022/primitives-event-dispatch.mjs +1 -1
- package/fesm2022/primitives-signals.mjs +2 -2
- 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/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 +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 +44 -6
- 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 +56 -15
- 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 +11 -1
- package/types/testing.d.ts +1 -1
package/types/rxjs-interop.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0
|
|
2
|
+
* @license Angular v21.0.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -31,6 +31,7 @@ import { Observable, MonoTypeOperatorFunction, Subscribable } from 'rxjs';
|
|
|
31
31
|
* nameChange = outputFromObservable(this.nameChange$);
|
|
32
32
|
* }
|
|
33
33
|
* ```
|
|
34
|
+
* @see [RxJS interop with component and directive outputs](ecosystem/rxjs-interop/output-interop)
|
|
34
35
|
*
|
|
35
36
|
* @publicApi 19.0
|
|
36
37
|
*/
|
|
@@ -43,6 +44,8 @@ declare function outputFromObservable<T>(observable: Observable<T>, opts?: Outpu
|
|
|
43
44
|
*
|
|
44
45
|
* You can subscribe to the output via `Observable.subscribe` then.
|
|
45
46
|
*
|
|
47
|
+
* @see [RxJS interop with component and directive outputs](ecosystem/rxjs-interop/output-interop)
|
|
48
|
+
*
|
|
46
49
|
* @publicApi 19.0
|
|
47
50
|
*/
|
|
48
51
|
declare function outputToObservable<T>(ref: OutputRef<T>): Observable<T>;
|
|
@@ -55,6 +58,8 @@ declare function outputToObservable<T>(ref: OutputRef<T>): Observable<T>;
|
|
|
55
58
|
* passed explicitly to use `takeUntilDestroyed` outside of an [injection
|
|
56
59
|
* context](guide/di/dependency-injection-context). Otherwise, the current `DestroyRef` is injected.
|
|
57
60
|
*
|
|
61
|
+
* @see [Unsubscribing with takeUntilDestroyed](ecosystem/rxjs-interop/take-until-destroyed)
|
|
62
|
+
*
|
|
58
63
|
* @publicApi 19.0
|
|
59
64
|
*/
|
|
60
65
|
declare function takeUntilDestroyed<T>(destroyRef?: DestroyRef): MonoTypeOperatorFunction<T>;
|
|
@@ -81,6 +86,9 @@ interface ToObservableOptions {
|
|
|
81
86
|
*
|
|
82
87
|
* `toObservable` must be called in an injection context unless an injector is provided via options.
|
|
83
88
|
*
|
|
89
|
+
* @see [RxJS interop with Angular signals](ecosystem/rxjs-interop)
|
|
90
|
+
* @see [Create an RxJS Observable from a signal with toObservable](ecosystem/rxjs-interop#create-an-rxjs-observable-from-a-signal-with-toobservable)
|
|
91
|
+
*
|
|
84
92
|
* @publicApi 20.0
|
|
85
93
|
*/
|
|
86
94
|
declare function toObservable<T>(source: Signal<T>, options?: ToObservableOptions): Observable<T>;
|
|
@@ -169,6 +177,8 @@ interface RxResourceOptions<T, R> extends BaseResourceOptions<T, R> {
|
|
|
169
177
|
* Like `resource` but uses an RxJS based `loader` which maps the request to an `Observable` of the
|
|
170
178
|
* resource's value.
|
|
171
179
|
*
|
|
180
|
+
* @see [Using rxResource for async data](ecosystem/rxjs-interop#using-rxresource-for-async-data)
|
|
181
|
+
*
|
|
172
182
|
* @experimental
|
|
173
183
|
*/
|
|
174
184
|
declare function rxResource<T, R>(opts: RxResourceOptions<T, R> & {
|
package/types/testing.d.ts
CHANGED