Skip to content

Instantly share code, notes, and snippets.

@nataliemarleny
Created July 20, 2019 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nataliemarleny/62131a177e29e055a1aeb7a0f4599ecc to your computer and use it in GitHub Desktop.
Save nataliemarleny/62131a177e29e055a1aeb7a0f4599ecc to your computer and use it in GitHub Desktop.
POC - packages/next/temp/next.api.md

API Report File for "next"

Do not edit this file. It is a report generated by API Extractor.

import next from 'next/dist/server/next';
import { NextApiRequest } from 'next-server/dist/lib/utils';
import { NextApiResponse } from 'next-server/dist/lib/utils';
import { NextComponentType } from 'next-server/dist/lib/utils';
import { NextPageContext } from 'next-server/dist/lib/utils';
import { PageConfig } from 'next-server/types';

export default next;

export { NextApiRequest }

export { NextApiResponse }

export { NextComponentType }

// @public
export type NextPage<P = {}, IP = P> = {
  (props: P): JSX.Element
  getInitialProps?(ctx: NextPageContext): Promise<IP>
}

export { NextPageContext }

export { PageConfig }


// (No @packageDocumentation comment for this package)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment