Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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)
 
PREVIOUS NEXT
Tagged: #typescript
ADD COMMENT
Topic
Name
3+4 =