From ceb81a04bc99f949129d16b464e9f28ad2e5983c Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 4 Sep 2024 07:13:36 +0200 Subject: [PATCH] chore: update type error --- src/stores/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/settings.ts b/src/stores/settings.ts index 9b706a25..4a35d180 100644 --- a/src/stores/settings.ts +++ b/src/stores/settings.ts @@ -42,7 +42,7 @@ export const useSettingsStore = defineStore('uiSettings', { } return true; }, - chartTheme(): string { + chartTheme(): 'dark' | 'light' { return this.isDarkTheme ? 'dark' : 'light'; }, uiVersion(state) {