Skip to content

Commit

Permalink
fix(sidenav): resolve compilation errors for latest Typescript 1.9 (#627
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vikerman authored and jelbourn committed Jun 3, 2016
1 parent 013eabd commit f7f0b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sidenav/sidenav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class MdSidenav {
// Shortcut it if we're already opened.
if (isOpen === this.opened) {
if (!this._transition) {
return Promise.resolve();
return Promise.resolve(null);
} else {
return isOpen ? this._openPromise : this._closePromise;
}
Expand Down

0 comments on commit f7f0b4a

Please sign in to comment.