/// /// /// import React from 'react' import { ParsedUrlQuery } from 'querystring' import { IncomingMessage, ServerResponse } from 'http' import { NextPageContext, NextComponentType, NextApiResponse, NextApiRequest, NextApiHandler, // @ts-ignore This path is generated at build time and conflicts otherwise } from '../dist/next-server/lib/utils' import { NextApiRequestCookies, // @ts-ignore This path is generated at build time and conflicts otherwise } from '../dist/next-server/server/api-utils' // @ts-ignore This path is generated at build time and conflicts otherwise import next from '../dist/server/next' // Extend the React types with missing properties declare module 'react' { // support interface HtmlHTMLAttributes extends React.HTMLAttributes { amp?: string } // support interface LinkHTMLAttributes extends HTMLAttributes { nonce?: string } //