complete main function

This commit is contained in:
cast1e
2024-10-13 23:36:10 +08:00
parent dc5d53a953
commit 5a0769e91b
20 changed files with 482 additions and 71 deletions
+14
View File
@@ -0,0 +1,14 @@
import type { Store } from 'vuex'
import type { Cell } from '@/ts/types'
declare module 'vue' {
// 声明自己的 store state
interface State {
wpList:Cell[]
}
// 为 `this.$store` 提供类型声明
interface ComponentCustomProperties {
$store: Store<State>
}
}