神仙都没用 1 年之前
父节点
当前提交
164c27e3bc
共有 3 个文件被更改,包括 254 次插入603 次删除
  1. 250 596
      pnpm-lock.yaml
  2. 2 0
      src/vite-env.d.ts
  3. 2 7
      tsconfig.json

文件差异内容过多而无法显示
+ 250 - 596
pnpm-lock.yaml


+ 2 - 0
env.d.ts → src/vite-env.d.ts

@@ -1,3 +1,5 @@
+/// <reference types="vite/client" />
+
 interface ImportMetaEnv {
 interface ImportMetaEnv {
 	readonly VITE_NAME: string;
 	readonly VITE_NAME: string;
 	readonly VITE_TIMEOUT: number;
 	readonly VITE_TIMEOUT: number;

+ 2 - 7
tsconfig.json

@@ -11,12 +11,7 @@
 		"experimentalDecorators": true,
 		"experimentalDecorators": true,
 		"esModuleInterop": true,
 		"esModuleInterop": true,
 		"lib": ["esnext", "dom", "WebWorker"],
 		"lib": ["esnext", "dom", "WebWorker"],
-		"types": [
-			"vite/client",
-			"element-plus/global",
-			"@cool-vue/vite-plugin/client",
-			"./build/cool/eps.d.ts"
-		],
+		"types": ["element-plus/global", "@cool-vue/vite-plugin/client", "./build/cool/eps.d.ts"],
 		"paths": {
 		"paths": {
 			"/@/*": ["./src/*"],
 			"/@/*": ["./src/*"],
 			"/$/*": ["./src/modules/*"],
 			"/$/*": ["./src/modules/*"],
@@ -24,6 +19,6 @@
 			"/~/*": ["./packages/*"]
 			"/~/*": ["./packages/*"]
 		}
 		}
 	},
 	},
-	"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "env.d.ts"],
+	"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
 	"exclude": ["node_modules", "dist"]
 	"exclude": ["node_modules", "dist"]
 }
 }

部分文件因为文件数量过多而无法显示