10 lines
241 B
TypeScript
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;
|
||
|
}
|
||
|
}
|