From d4049ac89186c12594c278178252e4c5b4d9a1cd Mon Sep 17 00:00:00 2001 From: zqm Date: Fri, 9 Jan 2026 14:54:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=A5=E6=A0=BC=E7=9A=84?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E5=86=99=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoRobot/Windows/Robot/Web/tsconfig.json | 22 +++++++++++++++++++ .../Windows/Robot/Web/tsconfig.node.json | 10 +++++++++ 2 files changed, 32 insertions(+) create mode 100644 AutoRobot/Windows/Robot/Web/tsconfig.json create mode 100644 AutoRobot/Windows/Robot/Web/tsconfig.node.json diff --git a/AutoRobot/Windows/Robot/Web/tsconfig.json b/AutoRobot/Windows/Robot/Web/tsconfig.json new file mode 100644 index 0000000..3144120 --- /dev/null +++ b/AutoRobot/Windows/Robot/Web/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "forceConsistentCasingInFileNames": true, + "target": "ES2020", + "useDefineForClassFields": true, + "module": "ESNext", + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "preserve", + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], + "references": [{ "path": "./tsconfig.node.json" }] +} \ No newline at end of file diff --git a/AutoRobot/Windows/Robot/Web/tsconfig.node.json b/AutoRobot/Windows/Robot/Web/tsconfig.node.json new file mode 100644 index 0000000..135583d --- /dev/null +++ b/AutoRobot/Windows/Robot/Web/tsconfig.node.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "composite": true, + "skipLibCheck": true, + "module": "ESNext", + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true + }, + "include": ["vite.config.js"] +} \ No newline at end of file