lib/middleware/typed-params.js
function _param(req, key, _default) {
  var src = req.params[key];
  if (src === undefined) {
    src = req.body[key];
  }
  if (src === undefined) {
    src = req.query[key];
  }
  if (src === undefined) {
    src = _default;
  }
  return src;
}
function _param(req, key, _default) {
  var src = req.params[key];
  if (src === undefined) {
    src = req.body[key];
  }
  if (src === undefined) {
    src = req.query[key];
  }
  if (src === undefined) {
    src = _default;
  }
  return src;
}
Because req.param() was deprecated.