diff --git a/config.ts b/config.ts index be495471..d800fea1 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`;