fix(ci): typecheck

This commit is contained in:
Neko Ayaka
2025-11-01 16:10:05 +08:00
parent 38e2c11a24
commit 2293e051c6
5 changed files with 10 additions and 8 deletions
@@ -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'
+3 -1
View File
@@ -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)
+3 -2
View File
@@ -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)
@@ -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'
+1 -1
View File
@@ -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'