diff --git a/.gitignore b/.gitignore
index f3f691e..ae08b50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -129,4 +129,5 @@ dist
.yarn/install-state.gz
.pnp.*
-.DS_Store
\ No newline at end of file
+.DS_Store
+next-env.d.ts
\ No newline at end of file
diff --git a/next-env.d.ts b/next-env.d.ts
deleted file mode 100644
index 9edff1c..0000000
--- a/next-env.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-///
-///
-import "./.next/types/routes.d.ts";
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
diff --git a/package.json b/package.json
index 7605954..8fafa8e 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
"jest:watch": "jest --watch",
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
- "test": "npm run prettier:check && npm run lint && npm run typecheck && npm run jest",
+ "test": "npx next typegen && npm run prettier:check && npm run lint && npm run typecheck && npm run jest",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build"
},