Skip to content

Commit f95a58d

Browse files
committed
added types for afterOpen & afterAllClosed
1 parent 4947b0b commit f95a58d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/dialog/dialog.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ export class MdDialog {
3131
private _afterOpen = new Subject<MdDialogRef<any>>();
3232

3333
/** Gets an observable that is notified when a dialog has been opened. */
34-
afterOpen = this._afterOpen.asObservable();
34+
afterOpen: Observable<MdDialogRef<any>> = this._afterOpen.asObservable();
3535

3636
/** Gets an observable that is notified when all open dialog have finished closing. */
37-
afterAllClosed = this._afterAllClosed.asObservable();
37+
afterAllClosed: Observable<void> = this._afterAllClosed.asObservable();
3838

3939
constructor(private _overlay: Overlay, private _injector: Injector) { }
4040

0 commit comments

Comments
 (0)