Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mnowacki-b committed Sep 28, 2020
1 parent 5951282 commit 3a991e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class DebuggerSidebar extends Panel implements IDebugger.ISidebar {
* If the widget is already contained in the sidebar, it will be moved.
* The item can be removed from the sidebar by setting its parent to `null`.
*/
addItem(widget: Widget) {
addItem(widget: Widget): void {
this._body.addWidget(widget);
}

Expand All @@ -108,7 +108,7 @@ export class DebuggerSidebar extends Panel implements IDebugger.ISidebar {
* If the widget is already contained in the sidebar, it will be moved.
* The item can be removed from the sidebar by setting its parent to `null`.
*/
insertItem(index: number, widget: Widget) {
insertItem(index: number, widget: Widget): void {
this._body.insertWidget(index, widget);
}

Expand Down

0 comments on commit 3a991e3

Please sign in to comment.