express req.query typescript code example
Example: typescript req.query.query
// req.query.shopEventId is possibly === undefined
if (!req.query.shopEventId) {
return res.status(400).send()
}
const shopEventId: string = String(req.query.shopEventId)