Skip to content

Commit

Permalink
added types for afterOpen & afterAllClosed
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspink committed Jan 14, 2017
1 parent a62c6bb commit 8812723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export class MdDialog {
private _afterOpen = new Subject<MdDialogRef<any>>();

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

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

constructor(
private _overlay: Overlay,
Expand Down

0 comments on commit 8812723

Please sign in to comment.