Skip to content

Commit

Permalink
fix: #403
Browse files Browse the repository at this point in the history
  • Loading branch information
mseemann committed Jan 6, 2017
1 parent bb68d3c commit ae83495
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@
# 2.12.0 (next)

### Bug Fixes
* [403](https://github.com/mseemann/angular2-mdl/issues/403) (dialog service: onHide should declare Observable<any> instead of Observable<void>)

### Features
* [369](https://github.com/mseemann/angular2-mdl/issues/369) (Tooltip delay by [@guzmo](https://github.com/guzmo))
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/dialog/internal-dialog-reference.ts
Expand Up @@ -38,7 +38,7 @@ export class InternalMdlDialogReference {
this.onVisibleSubject.complete();
}

public onHide(): Observable<void> {
public onHide(): Observable<any> {
return this.onHideSubject.asObservable();
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/dialog/mdl-dialog.service.ts
Expand Up @@ -50,7 +50,7 @@ export class MdlDialogReference {
* Observable that emits, if the dialog was closed.
* @returns {Observable<void>}
*/
public onHide(): Observable<void> {
public onHide(): Observable<any> {
return this.internaleRef.onHide();
}

Expand Down

0 comments on commit ae83495

Please sign in to comment.