Skip to content

Commit 95f0e01

Browse files
committed
added types for afterOpen & afterAllClosed
1 parent e629898 commit 95f0e01

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
@@ -35,10 +35,10 @@ export class MdDialog {
3535
private _afterOpen = new Subject<MdDialogRef<any>>();
3636

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

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

4343
constructor(
4444
private _overlay: Overlay,

0 commit comments

Comments
 (0)