Skip to content

Commit 1b2310d

Browse files
committed
chore: remove redundant annotations
1 parent 00b5fda commit 1b2310d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib/sidenav/sidenav.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,20 +176,20 @@ export class MdSidenav implements AfterContentInit, OnDestroy {
176176

177177

178178
/** Open the sidenav. */
179-
open(): void {
180-
return this.toggle(true);
179+
open() {
180+
this.toggle(true);
181181
}
182182

183183
/** Close the sidenav. */
184-
close(): void {
185-
return this.toggle(false);
184+
close() {
185+
this.toggle(false);
186186
}
187187

188188
/**
189189
* Toggle this sidenav.
190190
* @param isOpen Whether the sidenav should be open.
191191
*/
192-
toggle(isOpen: boolean = !this.opened): void {
192+
toggle(isOpen: boolean = !this.opened) {
193193
if (!this._isAnimating) {
194194
this._opened = isOpen;
195195

0 commit comments

Comments
 (0)