diff --git a/tsconfig.json b/tsconfig.json index e112115..9530da84 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,6 @@ "outDir": "dist", "lib": ["esnext", "dom"], "types": [ - "./vite-env.d.ts", "@dcloudio/types", "@types/wechat-miniprogram", "@uni-helper/uni-app-types", diff --git a/vite-env.d.ts b/vite-env.d.ts deleted file mode 100644 index ff5515b..0000000 --- a/vite-env.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -// 全局自定义参数 -declare const __UNI_PLATFORM__: - | 'h5' - | 'app' - | 'mp-alipay' - | 'mp-baidu' - | 'mp-jd' - | 'mp-kuaishou' - | 'mp-lark' - | 'mp-qq' - | 'mp-toutiao' - | 'mp-weixin' - | 'quickapp-webview' - | 'quickapp-webview-huawei' - | 'quickapp-webview-union'