use null for unsetting instead of empty string
This commit is contained in:
1 parent
6404a06999
commit
48e71d4345
5 files changed
+20
-16
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user