Skip to content

Commit aec4aaf

Browse files
committed
chore: remove redundant annotations
1 parent 944cc98 commit aec4aaf

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

179179

180180
/** Open the sidenav. */
181-
open(): void {
182-
return this.toggle(true);
181+
open() {
182+
this.toggle(true);
183183
}
184184

185185
/** Close the sidenav. */
186-
close(): void {
187-
return this.toggle(false);
186+
close() {
187+
this.toggle(false);
188188
}
189189

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

0 commit comments

Comments
 (0)