use null for unsetting instead of empty string

This commit is contained in:
Alex Holliday committed 2026-03-12 09:53:31 -07:00
1 parent 6404a06999
commit 48e71d4345
5 files changed
+20 -16

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ export interface SettingsThresholds {
temperature?: number;
}
export type SettingsUpdate = {
[K in keyof Settings]?: Settings[K] | null;
};
export interface Settings {
id: string;
checkTTL: number;