fix(types): allow falsy values

pull/1066/head
Elian Doran 2025-01-28 16:44:56 +07:00
parent 189a2296c4
commit f1cb95d95e
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -205,7 +205,7 @@ export class TypedBasicWidget<T extends TypedComponent<any>> extends TypedCompon
*/ */
doRender() {} doRender() {}
toggleInt(show: boolean) { toggleInt(show: boolean | null | undefined) {
this.$widget.toggleClass("hidden-int", !show); this.$widget.toggleClass("hidden-int", !show);
} }