Skip to content

Commit 324ed27

Browse files
committed
chore: remove redundant annotations
1 parent a0ebd8b commit 324ed27

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
@@ -155,20 +155,20 @@ export class MdSidenav implements AfterContentInit, OnDestroy {
155155

156156

157157
/** Open the sidenav. */
158-
open(): void {
159-
return this.toggle(true);
158+
open() {
159+
this.toggle(true);
160160
}
161161

162162
/** Close the sidenav. */
163-
close(): void {
164-
return this.toggle(false);
163+
close() {
164+
this.toggle(false);
165165
}
166166

167167
/**
168168
* Toggle this sidenav.
169169
* @param isOpen Whether the sidenav should be open.
170170
*/
171-
toggle(isOpen: boolean = !this.opened): void {
171+
toggle(isOpen: boolean = !this.opened) {
172172
if (!this._isAnimating) {
173173
this._opened = isOpen;
174174

0 commit comments

Comments
 (0)