Skip to content

Commit 2293e05

Browse files
committed
fix(ci): typecheck
1 parent 38e2c11 commit 2293e05

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

apps/stage-tamagotchi/src/renderer/composables/vueuse/use-versioned-local-storage/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { IfAny, MaybeRefOrGetter, UseStorageOptions } from '@vueuse/core'
2-
import type { Ref, UnwrapRef } from 'vue'
1+
import type { IfAny, UseStorageOptions } from '@vueuse/core'
2+
import type { MaybeRefOrGetter, Ref, UnwrapRef } from 'vue'
33

44
import { useLocalStorage } from '@vueuse/core'
55
import { ref, toValue, watch } from 'vue'

apps/stage-tamagotchi/src/renderer/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { Plugin } from 'vue'
2+
import type { RouteRecordRaw } from 'vue-router'
23

34
import Tres from '@tresjs/core'
45

@@ -35,7 +36,8 @@ const pinia = createPinia()
3536

3637
const router = createRouter({
3738
history: createWebHashHistory(),
38-
routes: setupLayouts(routes),
39+
// TODO: vite-plugin-vue-layouts is long deprecated, replace with another layout solution
40+
routes: setupLayouts(routes as RouteRecordRaw[]),
3941
})
4042

4143
createApp(App)

apps/stage-web/src/main.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Plugin } from 'vue'
2-
import type { Router } from 'vue-router'
2+
import type { Router, RouteRecordRaw } from 'vue-router'
33

44
import Tres from '@tresjs/core'
55
import NProgress from 'nprogress'
@@ -23,7 +23,8 @@ import './styles/main.css'
2323
import 'uno.css'
2424

2525
const pinia = createPinia()
26-
const routeRecords = setupLayouts(routes)
26+
// TODO: vite-plugin-vue-layouts is long deprecated, replace with another layout solution
27+
const routeRecords = setupLayouts(routes as RouteRecordRaw[])
2728

2829
let router: Router
2930
if (import.meta.env.VITE_APP_TARGET_HUGGINGFACE_SPACE)

packages/stage-ui/src/composables/canvas-alpha.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { MaybeRefOrGetter } from '@vueuse/core'
2-
import type { Ref } from 'vue'
1+
import type { MaybeRefOrGetter, Ref } from 'vue'
32

43
import { toRef, unrefElement, useElementBounding } from '@vueuse/core'
54
import { computed } from 'vue'

packages/stage-ui/src/composables/micvad.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { RealTimeVADOptions } from '@ricky0123/vad-web'
2-
import type { MaybeRef } from '@vueuse/shared'
2+
import type { MaybeRef } from 'vue'
33

44
import { merge } from '@moeru/std'
55
import { getDefaultRealTimeVADOptions, MicVAD } from '@ricky0123/vad-web'

0 commit comments

Comments
 (0)