vue.d.ts 295 B

123456789101112131415161718
  1. /**
  2. * Extends interfaces in Vue.js
  3. */
  4. import { VuexComponentOption, Store } from './index'
  5. declare global {
  6. namespace vuejs {
  7. interface ComponentOption {
  8. vuex?: VuexComponentOption<any>;
  9. store?: Store<any>;
  10. }
  11. interface Vue {
  12. $store?: Store<any>;
  13. }
  14. }
  15. }