diff --git a/apps/stage-tamagotchi/src/renderer/composables/vueuse/use-versioned-local-storage/index.ts b/apps/stage-tamagotchi/src/renderer/composables/vueuse/use-versioned-local-storage/index.ts index bcc092633..a00368ddf 100644 --- a/apps/stage-tamagotchi/src/renderer/composables/vueuse/use-versioned-local-storage/index.ts +++ b/apps/stage-tamagotchi/src/renderer/composables/vueuse/use-versioned-local-storage/index.ts @@ -1,5 +1,5 @@ -import type { IfAny, MaybeRefOrGetter, UseStorageOptions } from '@vueuse/core' -import type { Ref, UnwrapRef } from 'vue' +import type { IfAny, UseStorageOptions } from '@vueuse/core' +import type { MaybeRefOrGetter, Ref, UnwrapRef } from 'vue' import { useLocalStorage } from '@vueuse/core' import { ref, toValue, watch } from 'vue' diff --git a/apps/stage-tamagotchi/src/renderer/main.ts b/apps/stage-tamagotchi/src/renderer/main.ts index 88c8fe621..c03e4ecc1 100644 --- a/apps/stage-tamagotchi/src/renderer/main.ts +++ b/apps/stage-tamagotchi/src/renderer/main.ts @@ -1,4 +1,5 @@ import type { Plugin } from 'vue' +import type { RouteRecordRaw } from 'vue-router' import Tres from '@tresjs/core' @@ -35,7 +36,8 @@ const pinia = createPinia() const router = createRouter({ history: createWebHashHistory(), - routes: setupLayouts(routes), + // TODO: vite-plugin-vue-layouts is long deprecated, replace with another layout solution + routes: setupLayouts(routes as RouteRecordRaw[]), }) createApp(App) diff --git a/apps/stage-web/src/main.ts b/apps/stage-web/src/main.ts index abd8a0c6d..c2b974e7b 100644 --- a/apps/stage-web/src/main.ts +++ b/apps/stage-web/src/main.ts @@ -1,5 +1,5 @@ import type { Plugin } from 'vue' -import type { Router } from 'vue-router' +import type { Router, RouteRecordRaw } from 'vue-router' import Tres from '@tresjs/core' import NProgress from 'nprogress' @@ -23,7 +23,8 @@ import './styles/main.css' import 'uno.css' const pinia = createPinia() -const routeRecords = setupLayouts(routes) +// TODO: vite-plugin-vue-layouts is long deprecated, replace with another layout solution +const routeRecords = setupLayouts(routes as RouteRecordRaw[]) let router: Router if (import.meta.env.VITE_APP_TARGET_HUGGINGFACE_SPACE) diff --git a/packages/stage-ui/src/composables/canvas-alpha.ts b/packages/stage-ui/src/composables/canvas-alpha.ts index 03b34afcc..c15ec0769 100644 --- a/packages/stage-ui/src/composables/canvas-alpha.ts +++ b/packages/stage-ui/src/composables/canvas-alpha.ts @@ -1,5 +1,4 @@ -import type { MaybeRefOrGetter } from '@vueuse/core' -import type { Ref } from 'vue' +import type { MaybeRefOrGetter, Ref } from 'vue' import { toRef, unrefElement, useElementBounding } from '@vueuse/core' import { computed } from 'vue' diff --git a/packages/stage-ui/src/composables/micvad.ts b/packages/stage-ui/src/composables/micvad.ts index 41a4ead8b..723107900 100644 --- a/packages/stage-ui/src/composables/micvad.ts +++ b/packages/stage-ui/src/composables/micvad.ts @@ -1,5 +1,5 @@ import type { RealTimeVADOptions } from '@ricky0123/vad-web' -import type { MaybeRef } from '@vueuse/shared' +import type { MaybeRef } from 'vue' import { merge } from '@moeru/std' import { getDefaultRealTimeVADOptions, MicVAD } from '@ricky0123/vad-web'