diff --git a/theme.config.tsx b/theme.config.jsx similarity index 85% rename from theme.config.tsx rename to theme.config.jsx index 357d3d3..295ec1f 100644 --- a/theme.config.tsx +++ b/theme.config.jsx @@ -1,9 +1,8 @@ import React from "react" import { useRouter } from "next/router" -import type { DocsThemeConfig } from "nextra-theme-docs" -const config: DocsThemeConfig = { +export default { docsRepositoryBase: "https://github.com/lune-org/docs/blob/main", useNextSeoProps() { const { asPath } = useRouter() @@ -36,5 +35,3 @@ const config: DocsThemeConfig = { ), } - -export default config diff --git a/tsconfig.json b/tsconfig.json index f54d304..575ca2b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,6 +15,6 @@ "isolatedModules": true, "jsx": "preserve" }, - "include": ["next-env.d.ts", "theme.config.tsx", "**/*.ts", "**/*.tsx"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"] }