From d4f08c61c0e0bceeab4460b6e9d7eb21d40945c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=9F=E8=B0=83=E8=B0=83?= Date: Mon, 20 May 2024 08:58:21 +0800 Subject: [PATCH] doc: Update tsconfig.json --- tsconfig.json | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 1674879..076e8a9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,24 +1,19 @@ { "compilerOptions": { - "strict": true, - "strictNullChecks": true, - "skipLibCheck": true, + "target": "esnext", + "module": "esnext", + "moduleResolution": "node", "jsx": "preserve", "jsxFactory": "h", "jsxFragmentFactory": "Fragment", - "module": "ES6", - "moduleResolution": "node", - "noEmit": false, - "target": "ES6", - "declaration": true, - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "allowSyntheticDefaultImports": true, "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "isolatedModules": true, - "noFallthroughCasesInSwitch": true, - "resolveJsonModule": true + "allowSyntheticDefaultImports": true, + "sourceMap": true, + "strict": true, + "noImplicitAny": false, + "skipLibCheck": true, + "declaration": true, + "emitDeclarationOnly": true }, "exclude": ["website", "packages/*/cjs", "packages/*/esm"] }