From aac4d9c3f7999f6ef590f8282d34f75599f9ca9c Mon Sep 17 00:00:00 2001 From: William Li Date: Sat, 5 Aug 2023 04:30:09 +0800 Subject: [PATCH] use import type to import from 'next' in ts examples (#53568) Updates typescript examples in https://nextjs.org/docs/app/building-your-application/optimizing/metadata#static-metadata to use `import type` instead of `import`. ![CleanShot 2023-08-04 at 17 28 12](https://github.com/vercel/next.js/assets/179761/d14503a4-1453-4f8f-95de-9d40ad1917ef) --- .../06-optimizing/04-metadata.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/02-app/01-building-your-application/06-optimizing/04-metadata.mdx b/docs/02-app/01-building-your-application/06-optimizing/04-metadata.mdx index eaf2b42596fc8..ec01d31b08889 100644 --- a/docs/02-app/01-building-your-application/06-optimizing/04-metadata.mdx +++ b/docs/02-app/01-building-your-application/06-optimizing/04-metadata.mdx @@ -22,7 +22,7 @@ With both these options, Next.js will automatically generate the relevant `