docs(core): mark `EventEmitter#__isAsync` as internal to hide from API docs (#31378)
The `__isAsync` property is not part of the public API and should not appear in the API docs. PR Close #31378
This commit is contained in:
parent
9364a14d36
commit
0f21ae9a74
|
@ -62,12 +62,8 @@ import {Subject, Subscription} from 'rxjs';
|
||||||
* @publicApi
|
* @publicApi
|
||||||
*/
|
*/
|
||||||
export class EventEmitter<T extends any> extends Subject<T> {
|
export class EventEmitter<T extends any> extends Subject<T> {
|
||||||
// TODO: mark this as internal once all the facades are gone
|
|
||||||
// we can't mark it as internal now because EventEmitter exported via @angular/core would not
|
|
||||||
// contain this property making it incompatible with all the code that uses EventEmitter via
|
|
||||||
// facades, which are local to the code and do not have this property stripped.
|
|
||||||
/**
|
/**
|
||||||
* Internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
__isAsync: boolean; // tslint:disable-line
|
__isAsync: boolean; // tslint:disable-line
|
||||||
|
|
||||||
|
|
|
@ -326,7 +326,6 @@ export declare class ErrorHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare class EventEmitter<T extends any> extends Subject<T> {
|
export declare class EventEmitter<T extends any> extends Subject<T> {
|
||||||
__isAsync: boolean;
|
|
||||||
constructor(isAsync?: boolean);
|
constructor(isAsync?: boolean);
|
||||||
emit(value?: T): void;
|
emit(value?: T): void;
|
||||||
subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription;
|
subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription;
|
||||||
|
|
Loading…
Reference in New Issue