docs: add type to import statement (#57701)

This commit is contained in:
Harits Syah 2023-12-24 22:42:43 +07:00 committed by GitHub
parent ee4ff03828
commit 768d2174eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ You can customize the initial viewport of the page with the static `viewport` ob
To define the viewport options, export a `viewport` object from a `layout.js` or `page.js` file.
```tsx filename="layout.tsx | page.tsx" switcher
import { Viewport } from 'next'
import type { Viewport } from 'next'
export const viewport: Viewport = {
themeColor: 'black',