Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Oct 4, 2024
1 parent 26caf1b commit c52de6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/windy-sounding/src/util/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Settings = {
model: 2,
} as const;

type SettingKey = keyof typeof Settings;
type SettingKey = (typeof Settings)[keyof typeof Settings];

export function loadSetting(key: SettingKey): string | undefined {
const value = localStorage.getItem(`${PLUGIN_NAMESPACE}${key}`);
Expand Down

0 comments on commit c52de6f

Please sign in to comment.