@angular/core 11.1.1 → 11.1.2
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/bundles/core-testing.umd.js +1 -1
- package/bundles/core-testing.umd.min.js +1 -1
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +17 -16
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +3 -3
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +15 -7
- package/core.metadata.json +1 -1
- package/esm2015/src/event_emitter.js +15 -15
- package/esm2015/src/render3/error_code.js +2 -1
- package/esm2015/src/version.js +1 -1
- package/fesm2015/core.js +17 -16
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v11.1.
|
|
2
|
+
* @license Angular v11.1.2
|
|
3
3
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -2417,13 +2417,21 @@ export declare interface EventEmitter<T> extends Subject<T> {
|
|
|
2417
2417
|
emit(value?: T): void;
|
|
2418
2418
|
/**
|
|
2419
2419
|
* Registers handlers for events emitted by this instance.
|
|
2420
|
-
* @param
|
|
2421
|
-
* @param error When supplied, a custom handler for an error notification
|
|
2422
|
-
* from this
|
|
2423
|
-
*
|
|
2424
|
-
* notification from this emitter.
|
|
2420
|
+
* @param next When supplied, a custom handler for emitted events.
|
|
2421
|
+
* @param error When supplied, a custom handler for an error notification from this emitter.
|
|
2422
|
+
* @param complete When supplied, a custom handler for a completion notification from this
|
|
2423
|
+
* emitter.
|
|
2425
2424
|
*/
|
|
2426
|
-
subscribe(
|
|
2425
|
+
subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription;
|
|
2426
|
+
/**
|
|
2427
|
+
* Registers handlers for events emitted by this instance.
|
|
2428
|
+
* @param observerOrNext When supplied, a custom handler for emitted events, or an observer
|
|
2429
|
+
* object.
|
|
2430
|
+
* @param error When supplied, a custom handler for an error notification from this emitter.
|
|
2431
|
+
* @param complete When supplied, a custom handler for a completion notification from this
|
|
2432
|
+
* emitter.
|
|
2433
|
+
*/
|
|
2434
|
+
subscribe(observerOrNext?: any, error?: any, complete?: any): Subscription;
|
|
2427
2435
|
}
|
|
2428
2436
|
|
|
2429
2437
|
/**
|