Closed
Description
The regression reported here can be traced back to #53192. The minimal~ repro case for it is this:
enum AutomationMode {
NONE = "",
TIME = "time",
SYSTEM = "system",
LOCATION = "location",
}
interface ThemePreset {
id: string;
}
interface Automation {
mode: AutomationMode;
}
interface UserSettings {
presets: ThemePreset[];
automation: Automation;
}
interface ExtensionData {
settings: UserSettings;
}
export function getMockData(): ExtensionData {
return {
settings: {
presets: [],
automation: {
mode: "",
},
} as UserSettings,
}
}
Originally posted by @Andarist in #53192 (comment)