diff --git a/package.json b/package.json index 3bbcc2671..a2188656b 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "test:translations": "vitest run --no-isolate lib/__tests__/translations.test.ts", "test:integration": "bash integration/run-tests.sh", "prepare": "husky", - "typecheck": "tsc --noEmit" + "typecheck": "next typegen && tsc --noEmit" }, "dependencies": { "@dnd-kit/core": "^6.3.1", diff --git a/tsconfig.json b/tsconfig.json index 74c5f7c8e..5c212ec31 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -39,6 +39,7 @@ "node_modules", "repos", "examples", - "integration" + "integration", + ".next/dev/types" ] }