未验证 提交 695b26ce 编写于 作者: R Rafael Almeida 提交者: GitHub

Export NextApiRequest type as interface (#12186)

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册