ci: 使用prettier格式化
This commit is contained in:
cqh 2024-01-16 16:40:37 +08:00 committed by 菲鸽
parent 0f467eefdc
commit 6293d910bd
2 changed files with 7 additions and 4 deletions

View File

@ -36,5 +36,8 @@
"scrolltolower", "scrolltolower",
"tabbar", "tabbar",
"WechatMiniprogram" "WechatMiniprogram"
] ],
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
} }

6
src/shime-uni.d.ts vendored
View File

@ -1,6 +1,6 @@
export {} export {}
declare module "vue" { declare module 'vue' {
type Hooks = App.AppInstance & Page.PageInstance; type Hooks = App.AppInstance & Page.PageInstance
interface ComponentCustomOptions extends Hooks {} interface ComponentCustomOptions extends Hooks {}
} }