Procházet zdrojové kódy

Merge remote-tracking branch 'gitee/main'

Burt před 2 roky
rodič
revize
cfb871e528
2 změnil soubory, kde provedl 7 přidání a 4 odebrání
  1. 4 1
      .vscode/settings.json
  2. 3 3
      src/shime-uni.d.ts

+ 4 - 1
.vscode/settings.json

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

+ 3 - 3
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 {}
-}
+}