From 862b8119df7be399f665302ff1de9e594ab0ba95 Mon Sep 17 00:00:00 2001 From: “wangming” <“wangming@antissoft.com”> Date: Wed, 11 Mar 2026 15:25:48 +0800 Subject: [PATCH] Update tsconfig.json to enhance TypeScript configuration with stricter settings and modern module resolution options. --- 美国版/Food Labeling Management App UniApp/tsconfig.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/美国版/Food Labeling Management App UniApp/tsconfig.json b/美国版/Food Labeling Management App UniApp/tsconfig.json index 11fffd2..b6969b3 100644 --- a/美国版/Food Labeling Management App UniApp/tsconfig.json +++ b/美国版/Food Labeling Management App UniApp/tsconfig.json @@ -1,12 +1,21 @@ { - "extends": "@vue/tsconfig/tsconfig.json", "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "module": "ESNext", + "moduleResolution": "bundler", + "strict": true, + "jsx": "preserve", + "resolveJsonModule": true, + "isolatedModules": true, + "verbatimModuleSyntax": true, + "sourceMap": true, "baseUrl": ".", "paths": { "@/*": ["./src/*"] }, - "lib": ["esnext", "dom"], + "lib": ["ESNext", "DOM"], "types": ["@dcloudio/types"] }, "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] -- libgit2 0.21.4