diff --git a/tsconfig.json b/tsconfig.json index d58a28e..7b62e00 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ /* Strictness */ "strict": true, "noUncheckedIndexedAccess": true, - "checkJs": false, + "checkJs": true, /* Bundled projects */ "lib": [ "dom", @@ -44,12 +44,12 @@ "next-env.d.ts", "**/*.ts", "**/*.tsx", + "**/*.cjs", + "**/*.js", ".next/types/**/*.ts", ".next/dev/types/**/*.ts" ], "exclude": [ - "node_modules", - "**/*.js", - "**/*.cjs" + "node_modules" ] }