fix: 修复创建 ts 项目vue类型错误问题

This commit is contained in:
zhenyuWang 2022-08-07 15:35:33 +08:00
parent ce5cdba317
commit 3de1ba05e0

View File

@ -1,4 +1,7 @@
import Vue from 'vue'
declare module "*.vue" {
import Vue from 'vue'
export default Vue
}
declare module "vue/types/options" {
type Hooks = App.AppInstance & Page.PageInstance;