Closed miladezzat closed 2 years ago
Hello @hoangvvo
The methods status, send, json, end and ...etc, don't exists on the ServerResponse.
status
send
json
end
ServerResponse
Are you using TypeScript in API Routes? Make sure to use the proper type as shown in the README: https://github.com/hoangvvo/next-connect#typescript.
Hello @hoangvvo
The methods
status
,send
,json
,end
and ...etc, don't exists on theServerResponse
.