import Document, { Html, Head, Main, NextScript, DocumentContext, DocumentInitialProps } from 'next/document' class MyDocument extends Document { static async getInitialProps( ctx: DocumentContext ): Promise { const initialProps = await Document.getInitialProps(ctx) return initialProps } render(): JSX.Element { return (