fix: tycheck issues in Story

This commit is contained in:
kolaente 2025-11-22 12:37:33 +01:00
parent 4c524dd1a0
commit 6831f3c347
2 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
<script lang="ts" setup>
import {logEvent} from 'histoire/client'
import {reactive} from 'vue'
import {reactive, type App} from 'vue'
import {createRouter, createMemoryHistory} from 'vue-router'
import BaseButton from './BaseButton.vue'
function setupApp({ app }) {
function setupApp({ app }: { app: App }) {
// Router mock
app.use(createRouter({
history: createMemoryHistory(),

View File

@ -11,7 +11,7 @@ const isCheckedInitiallyEnabled = ref(true)
const isCheckedDisabled = ref(false)
const withoutInitialState = ref<boolean | undefined>()
const withoutInitialState = ref(false)
</script>