Good morning I need to pass parameters to my an Express app.get function from a res.render. The truth is the first time that occurs to me and I have no idea how to do it. In this line of code should pass a parameter;
'res.render("usuarios", tipos);'
and in my role you should get it:
app.get("/usuarios", (req, res) => {
let tipo: req.params.tipo;
});