mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(sidenav): resolve compilation errors for latest Typescript 1.9 (#627)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user