We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca5ec7 commit 3d5ceabCopy full SHA for 3d5ceab
src/lib/sidenav/sidenav.ts
@@ -121,15 +121,15 @@ export class MdSidenav {
121
122
if (isOpen) {
123
if (this._openPromise == null) {
124
- this._openPromise = new Promise((resolve, reject) => {
+ this._openPromise = new Promise<void>((resolve, reject) => {
125
this._openPromiseResolve = resolve;
126
this._openPromiseReject = reject;
127
});
128
}
129
return this._openPromise;
130
} else {
131
if (this._closePromise == null) {
132
- this._closePromise = new Promise((resolve, reject) => {
+ this._closePromise = new Promise<void>((resolve, reject) => {
133
this._closePromiseResolve = resolve;
134
this._closePromiseReject = reject;
135
0 commit comments