@@ -1,8 +1,8 @@
/* eslint-disable @next/next/google-font-display */
import React from 'react';
+import type { DocumentContext, DocumentInitialProps } from 'next/document';
import Document, {
- DocumentContext, DocumentInitialProps,
Html, Head, Main, NextScript,
} from 'next/document';
@@ -1,5 +1,6 @@
-import { NextPageContext } from 'next';
-import Error, { ErrorProps } from 'next/error';
+import type { NextPageContext } from 'next';
+import type { ErrorProps } from 'next/error';
+import Error from 'next/error';
export default function ErrorPage(props: ErrorProps): JSX.Element {
return <Error {...props} />;