From 6293d910bd24e892db9132d60bdc822a8599007f Mon Sep 17 00:00:00 2001 From: cqh <1561935423@qq.com> Date: Tue, 16 Jan 2024 16:40:37 +0800 Subject: [PATCH] =?UTF-8?q?fixed=208361968=20from=20https://gitee.com/code?= =?UTF-8?q?rcup/unifly/pulls/1=20ci:=20=E4=BD=BF=E7=94=A8prettier=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 5 ++++- src/shime-uni.d.ts | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b9f7917..63e6317 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -36,5 +36,8 @@ "scrolltolower", "tabbar", "WechatMiniprogram" - ] + ], + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + } } diff --git a/src/shime-uni.d.ts b/src/shime-uni.d.ts index 5ecbb26..7b3f972 100644 --- a/src/shime-uni.d.ts +++ b/src/shime-uni.d.ts @@ -1,6 +1,6 @@ export {} -declare module "vue" { - type Hooks = App.AppInstance & Page.PageInstance; +declare module 'vue' { + type Hooks = App.AppInstance & Page.PageInstance interface ComponentCustomOptions extends Hooks {} -} \ No newline at end of file +}