From 6c84b64efc736e039a8a10774a4a1bf772c37aa2 Mon Sep 17 00:00:00 2001 From: Aylur Date: Thu, 26 Dec 2024 01:25:21 +0100 Subject: fix: d8664da0 --- lang/gjs/src/_astal.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang/gjs/src') diff --git a/lang/gjs/src/_astal.ts b/lang/gjs/src/_astal.ts index 51b31cf..376f542 100644 --- a/lang/gjs/src/_astal.ts +++ b/lang/gjs/src/_astal.ts @@ -63,7 +63,8 @@ export function hook( } export function construct void }>(widget: Widget, config: any) { - const { setup, child, children = [], ...props } = config + // eslint-disable-next-line prefer-const + let { setup, child, children = [], ...props } = config if (children instanceof Binding) { children = [children] -- cgit v1.2.3