Skip to content

Commit 61b29bf

Browse files
crisbetommalerba
authored andcommitted
chore: fix popover compilation error (#15706)
Fixes an error in the popover during the Bazel test build.
1 parent 2f009d0 commit 61b29bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cdk-experimental/popover-edit/edit-ref.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import {Injectable, OnDestroy, Self} from '@angular/core';
1010
import {ControlContainer} from '@angular/forms';
11-
import {Subject} from 'rxjs';
11+
import {Observable, Subject} from 'rxjs';
1212
import {take} from 'rxjs/operators';
1313

1414
import {EditEventDispatcher} from './edit-event-dispatcher';
@@ -21,7 +21,7 @@ import {EditEventDispatcher} from './edit-event-dispatcher';
2121
export class EditRef<FormValue> implements OnDestroy {
2222
/** Emits the final value of this edit instance before closing. */
2323
private readonly _finalValueSubject = new Subject<FormValue>();
24-
readonly finalValue = this._finalValueSubject.asObservable();
24+
readonly finalValue: Observable<FormValue> = this._finalValueSubject.asObservable();
2525

2626
/** The value to set the form back to on revert. */
2727
private _revertFormValue: FormValue;

0 commit comments

Comments
 (0)