From d6949102346d4a0df37d0aaeebeb87715c9a4261 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Fri, 15 Sep 2023 23:36:51 +0800 Subject: [PATCH] fix: restore the original tsconfig.json --- tsconfig.json | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 3391746..6d39522 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,29 +1,15 @@ { "compilerOptions": { - "module": "esnext", "target": "es6", - "jsx": "react", + "module": "commonjs", "moduleResolution": "node", - "experimentalDecorators": true, - "esModuleInterop": true, + "declaration": true, + "declarationDir": "lib", "strict": true, - "resolveJsonModule": true, - "strictNullChecks": true, - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], - "allowJs": true, - "skipLibCheck": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "isolatedModules": false, + "outDir": "lib", "strictPropertyInitialization": false, - "noEmit": true, + "experimentalDecorators": true, "emitDecoratorMetadata": true }, - "include": [ - "src" - ] + "include": ["src/**/*.ts"] }