Browse Source

Merge pull request #2410 from Lantianyou/feature/typing-metadata

Feature/typing-metadata
Yifei Zhang 1 year ago
parent
commit
4e6b71ace5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/layout.tsx

+ 2 - 1
app/layout.tsx

@@ -3,8 +3,9 @@ import "./styles/globals.scss";
 import "./styles/markdown.scss";
 import "./styles/highlight.scss";
 import { getClientConfig } from "./config/client";
+import { type Metadata } from 'next';
 
-export const metadata = {
+export const metadata: Metadata = {
   title: "ChatGPT Next Web",
   description: "Your personal ChatGPT Chat Bot.",
   viewport: {