fix(ci): typecheck
This commit is contained in:
+2
-2
@@ -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'
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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,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'
|
||||
|
||||
Reference in New Issue
Block a user