神仙都没用 1 year ago
parent
commit
164c27e3bc
3 changed files with 254 additions and 603 deletions
  1. 250 596
      pnpm-lock.yaml
  2. 2 0
      src/vite-env.d.ts
  3. 2 7
      tsconfig.json

File diff suppressed because it is too large
+ 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 {
 	readonly VITE_NAME: string;
 	readonly VITE_TIMEOUT: number;

+ 2 - 7
tsconfig.json

@@ -11,12 +11,7 @@
 		"experimentalDecorators": true,
 		"esModuleInterop": true,
 		"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": {
 			"/@/*": ["./src/*"],
 			"/$/*": ["./src/modules/*"],
@@ -24,6 +19,6 @@
 			"/~/*": ["./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"]
 }

Some files were not shown because too many files changed in this diff