hookehuyr

馃敡 build: 鏇存柊TS閰嶇疆锛岃鑳藉鐩存帴杩愯ts鏂囦欢

...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
23 "lodash": "^4.17.21", 23 "lodash": "^4.17.21",
24 "moment": "^2.29.3", 24 "moment": "^2.29.3",
25 "mui-player": "^1.6.0", 25 "mui-player": "^1.6.0",
26 + "typescript": "^4.7.3",
26 "uuid": "^8.3.2", 27 "uuid": "^8.3.2",
27 "vant": "^4.0.0-alpha.3", 28 "vant": "^4.0.0-alpha.3",
28 "vconsole": "^3.14.6", 29 "vconsole": "^3.14.6",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 "compilerOptions": { 2 "compilerOptions": {
3 "outDir": "./", 3 "outDir": "./",
4 "target": "esnext", 4 "target": "esnext",
5 - "module": "esnext", 5 + "module": "CommonJS",
6 "strict": true, 6 "strict": true,
7 "jsx": "preserve", 7 "jsx": "preserve",
8 "importHelpers": true, 8 "importHelpers": true,
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 "esModuleInterop": true, 10 "esModuleInterop": true,
11 "allowSyntheticDefaultImports": true, 11 "allowSyntheticDefaultImports": true,
12 "sourceMap": true, 12 "sourceMap": true,
13 - "isolatedModules": true, 13 + "isolatedModules": false,
14 "baseUrl": ".", 14 "baseUrl": ".",
15 "allowJs": true, 15 "allowJs": true,
16 // "checkJs": true, 16 // "checkJs": true,
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
19 "vite/client", 19 "vite/client",
20 "lodash", 20 "lodash",
21 "moment", 21 "moment",
22 + "node",
23 + "jquery",
22 ], 24 ],
23 "paths": { 25 "paths": {
24 "@/*": [ 26 "@/*": [
...@@ -37,7 +39,7 @@ ...@@ -37,7 +39,7 @@
37 "src/**/*.tsx", 39 "src/**/*.tsx",
38 "src/**/*.vue", 40 "src/**/*.vue",
39 "tests/**/*.ts", 41 "tests/**/*.ts",
40 - "tests/**/*.tsx", 42 + "tests/**/*.tsx", "src/views/test/test.js",
41 ], 43 ],
42 "exclude": [ 44 "exclude": [
43 "node_modules", 45 "node_modules",
......
...@@ -2719,6 +2719,11 @@ type-fest@^0.21.3: ...@@ -2719,6 +2719,11 @@ type-fest@^0.21.3:
2719 resolved "http://mirrors.tencent.com/npm/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" 2719 resolved "http://mirrors.tencent.com/npm/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
2720 integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== 2720 integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
2721 2721
2722 +typescript@^4.7.3:
2723 + version "4.7.3"
2724 + resolved "https://mirrors.cloud.tencent.com/npm/typescript/-/typescript-4.7.3.tgz#8364b502d5257b540f9de4c40be84c98e23a129d"
2725 + integrity sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==
2726 +
2722 universalify@^2.0.0: 2727 universalify@^2.0.0:
2723 version "2.0.0" 2728 version "2.0.0"
2724 resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" 2729 resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz"
......