fix(types): allow falsy values

This commit is contained in:
Elian Doran 2025-01-28 16:44:56 +02:00
parent 189a2296c4
commit f1cb95d95e
No known key found for this signature in database

View File

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