From c51fb0982f5a82df49d43fc3088dc52be89ec986 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 23 Feb 2025 22:13:36 +1100 Subject: config: fix type --- config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.ts') diff --git a/config.ts b/config.ts index be49547..d800fea 100644 --- a/config.ts +++ b/config.ts @@ -2,7 +2,7 @@ import { GLib, monitorFile, readFileAsync, Variable } from "astal"; import { Astal } from "astal/gtk3"; import { loadStyleAsync } from "./app"; -type Settings = { [P in keyof T]: T[P] extends object ? Settings : Variable }; +type Settings = { [P in keyof T]: T[P] extends object & { length?: never } ? Settings : Variable }; const CONFIG = `${GLib.get_user_config_dir()}/caelestia/shell.json`; -- cgit v1.2.3-freya