fix: tycheck issues in Story
This commit is contained in:
parent
4c524dd1a0
commit
6831f3c347
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ const isCheckedInitiallyEnabled = ref(true)
|
|||
|
||||
const isCheckedDisabled = ref(false)
|
||||
|
||||
const withoutInitialState = ref<boolean | undefined>()
|
||||
const withoutInitialState = ref(false)
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue