system tray
This commit is contained in:
Vendored
+10
-3
@@ -1,14 +1,21 @@
|
||||
import type { Store } from 'vuex'
|
||||
import type { Cell } from '@/ts/types'
|
||||
import type { Cell } from '@/ts/types'
|
||||
|
||||
declare module 'vuex' {
|
||||
export * from 'vuex/types/index.d.ts'
|
||||
export * from 'vuex/types/helpers.d.ts'
|
||||
export * from 'vuex/types/logger.d.ts'
|
||||
export * from 'vuex/types/vue.d.ts'
|
||||
}
|
||||
|
||||
declare module 'vue' {
|
||||
// 声明自己的 store state
|
||||
interface State {
|
||||
wpList:Cell[]
|
||||
wpList: Cell[]
|
||||
}
|
||||
|
||||
// 为 `this.$store` 提供类型声明
|
||||
interface ComponentCustomProperties {
|
||||
$store: Store<State>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user