Unverified Commit 695b26ce authored by Rafael Almeida's avatar Rafael Almeida Committed by GitHub

Export NextApiRequest type as interface (#12186)

parent 00c64d08
......@@ -174,7 +174,7 @@ export type DocumentProps = DocumentInitialProps & {
/**
* Next `API` route request
*/
export type NextApiRequest = IncomingMessage & {
export interface NextApiRequest extends IncomingMessage {
/**
* Object of `query` values from url
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment