Skip to content

Commit 32fbc36

Browse files
committed
add function return types
1 parent bc7566f commit 32fbc36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/controls/src/widget_bool.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export class ValidView extends DescriptionView {
301301
/**
302302
* Called when view is rendered.
303303
*/
304-
render() {
304+
render(): void {
305305
super.render();
306306
this.el.classList.add('jupyter-widgets');
307307
this.el.classList.add('widget-valid');
@@ -322,7 +322,7 @@ export class ValidView extends DescriptionView {
322322
* Called when the model is changed. The model may have been
323323
* changed by another view or by a state update from the back-end.
324324
*/
325-
update() {
325+
update(): void {
326326
this.el.classList.remove('mod-valid');
327327
this.el.classList.remove('mod-invalid');
328328
this.icon.classList.remove('fa-check');

0 commit comments

Comments
 (0)