Why are Next.js' req.query object's values of type string | string[]?

前端 未结 0 475
悲&欢浪女
悲&欢浪女 2021-02-09 21:46

Next.js\' API Routes receive a req object - it\'s an extension of http.IncomingMessage with additional middlewares such as req.query. The typing of

相关标签:
回答
  • 消灭零回复
提交回复
热议问题