uni-preset-vue/template/common/shime-uni.d.ts
2022-11-23 17:28:21 +08:00

10 lines
241 B
TypeScript

import Vue from 'vue'
declare module "vue/types/options" {
type Hooks = App.AppInstance & Page.PageInstance;
interface ComponentOptions<V extends Vue> extends Hooks {
/**
* 组件类型
*/
mpType?: string;
}
}