Full Toolkit for Next-Level Domain Analysis
Convert Next.js config to TS ππ
Felix Wotschofskycf0eccf40322
diff --git a/next-env.d.ts b/next-env.d.tsindex 9edff1c..c4b7818 100644--- a/next-env.d.ts+++ b/next-env.d.ts@@ -1,6 +1,6 @@/// <reference types="next" />/// <reference types="next/image-types/global" />-import "./.next/types/routes.d.ts";+import "./.next/dev/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/next.config.js b/next.config.tssimilarity index 91%rename from next.config.jsrename to next.config.tsindex 364e67c..4b33d3e 100644--- a/next.config.js+++ b/next.config.ts@@ -1,5 +1,6 @@-/** @type {import('next').NextConfig} */-const nextConfig = {+import type { NextConfig } from 'next';++const nextConfig: NextConfig = {reactStrictMode: false,turbopack: {rules: {@@ -56,4 +57,4 @@ const nextConfig = {},};-module.exports = nextConfig;+export default nextConfig;