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