Skip to content

Commit 717682e

Browse files
committed
Fix typing failure
1 parent fe26eda commit 717682e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/controls/src/widget_selection.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,9 @@ export class RadioButtonsView extends DescriptionView {
313313
*/
314314
update(options?: any): void {
315315
const items: string[] = this.model.get('_options_labels');
316-
const radios = Array.from(this.container.querySelectorAll('input[type="radio"]')).map(x => x.value);
316+
const radios = Array.from(
317+
this.container.querySelectorAll('input[type="radio"]')
318+
).map((x: HTMLInputElement) => x.value);
317319
let stale = items.length !== radios.length;
318320

319321
if (!stale) {
@@ -430,7 +432,7 @@ export class RadioButtonsView extends DescriptionView {
430432
export class ToggleButtonsStyleModel extends DescriptionStyleModel {
431433
defaults(): Backbone.ObjectHash {
432434
return {
433-
...super.defaults(),
435+
...super.defaults(),
434436
_model_name: 'ToggleButtonsStyleModel'
435437
};
436438
}

0 commit comments

Comments
 (0)