diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-23 22:13:36 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-23 22:13:36 +1100 |
| commit | c51fb0982f5a82df49d43fc3088dc52be89ec986 (patch) | |
| tree | d2efd297c212dc14a1a2158cd2d4d2c3b2e8dc50 /config.ts | |
| parent | launcher: remove border (diff) | |
| download | caelestia-shell-c51fb0982f5a82df49d43fc3088dc52be89ec986.tar.gz caelestia-shell-c51fb0982f5a82df49d43fc3088dc52be89ec986.tar.bz2 caelestia-shell-c51fb0982f5a82df49d43fc3088dc52be89ec986.zip | |
config: fix type
Diffstat (limited to 'config.ts')
| -rw-r--r-- | config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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`; |