summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.ts2
1 files changed, 1 insertions, 1 deletions
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<T> = { [P in keyof T]: T[P] extends object ? Settings<T[P]> : Variable<T[P]> };
+type Settings<T> = { [P in keyof T]: T[P] extends object & { length?: never } ? Settings<T[P]> : Variable<T[P]> };
const CONFIG = `${GLib.get_user_config_dir()}/caelestia/shell.json`;