complete main function
This commit is contained in:
Vendored
+14
@@ -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>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user