mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: fix popover compilation error (#15706)
Fixes an error in the popover during the Bazel test build.
This commit is contained in:
committed by
mmalerba
parent
2f009d00da
commit
61b29bfd5a
@@ -8,7 +8,7 @@
|
||||
|
||||
import {Injectable, OnDestroy, Self} from '@angular/core';
|
||||
import {ControlContainer} from '@angular/forms';
|
||||
import {Subject} from 'rxjs';
|
||||
import {Observable, Subject} from 'rxjs';
|
||||
import {take} from 'rxjs/operators';
|
||||
|
||||
import {EditEventDispatcher} from './edit-event-dispatcher';
|
||||
@@ -21,7 +21,7 @@ import {EditEventDispatcher} from './edit-event-dispatcher';
|
||||
export class EditRef<FormValue> implements OnDestroy {
|
||||
/** Emits the final value of this edit instance before closing. */
|
||||
private readonly _finalValueSubject = new Subject<FormValue>();
|
||||
readonly finalValue = this._finalValueSubject.asObservable();
|
||||
readonly finalValue: Observable<FormValue> = this._finalValueSubject.asObservable();
|
||||
|
||||
/** The value to set the form back to on revert. */
|
||||
private _revertFormValue: FormValue;
|
||||
|
||||
Reference in New Issue
Block a user