Skip to content

Commit d958c8a

Browse files
committed
chore: remove redundant annotations
1 parent 49a56a0 commit d958c8a

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

171171

172172
/** Open the sidenav. */
173-
open(): void {
174-
return this.toggle(true);
173+
open() {
174+
this.toggle(true);
175175
}
176176

177177
/** Close the sidenav. */
178-
close(): void {
179-
return this.toggle(false);
178+
close() {
179+
this.toggle(false);
180180
}
181181

182182
/**
183183
* Toggle this sidenav.
184184
* @param isOpen Whether the sidenav should be open.
185185
*/
186-
toggle(isOpen: boolean = !this.opened): void {
186+
toggle(isOpen: boolean = !this.opened) {
187187
if (!this._isAnimating) {
188188
this._opened = isOpen;
189189

0 commit comments

Comments
 (0)