sfc.d.ts 242 B

1234567891011
  1. import Vue from 'vue'
  2. declare module "vue/types/options" {
  3. type Hooks = App.AppInstance & Page.PageInstance;
  4. interface ComponentOptions<V extends Vue> extends Hooks {
  5. /**
  6. * 组件类型
  7. */
  8. mpType?: string;
  9. }
  10. }