11 lines
232 B
TypeScript
11 lines
232 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
|
||
|
}
|
||
|
}
|