mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-05 21:41:53 +08:00
fix: 修复创建 ts 项目vue类型错误问题
This commit is contained in:
parent
ce5cdba317
commit
3de1ba05e0
5
template/common/sfc.d.ts
vendored
5
template/common/sfc.d.ts
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user