After I installed Next.js 14 with TypeScript, I encountered an error related to my metadata type definition.
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "next app",
description: "next app 14",
};
Sometimes the error disappears when I change my component page, but I often face this issue.
Just to clarify, this error does not affect the development or build mode of the application - it only shows up in VSCode.