diff --git a/tsconfig.base.json b/tsconfig.base.json index 1c399df..01ac0f6 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -4,6 +4,7 @@ "target": "esnext", "moduleResolution": "node", "allowJs": true, + "checkJs": true, "declaration": true, "noImplicitThis": true, "alwaysStrict": true, diff --git a/tsconfig.cjs.json b/tsconfig.cjs.json index 6072d70..c9fa405 100644 --- a/tsconfig.cjs.json +++ b/tsconfig.cjs.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.base.json", "compilerOptions": { + "outDir": "cjs", "module": "commonjs", - "outDir": "cjs" + "esModuleInterop": true } } diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 321584b..f6fd47d 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "esnext", "outDir": "esm" } }