migrate root store to composition API and typescript

This commit is contained in:
MaysWind
2025-01-20 00:33:22 +08:00
parent 929d3febb0
commit 559e8259be
22 changed files with 618 additions and 556 deletions
+1 -2
View File
@@ -2,8 +2,7 @@ import { ref, computed } from 'vue';
import { useI18n } from '@/locales/helpers.ts';
// @ts-expect-error the above file is migrating to ts
import { useRootStore } from '@/stores/index.js';
import { useRootStore } from '@/stores/index.ts';
import { useSettingsStore } from '@/stores/setting.ts';
import { useUserStore } from '@/stores/user.ts';
import { useExchangeRatesStore } from '@/stores/exchangeRates.ts';