<%- tplTsOnly([`import { RequestHandler } from 'express'${sc}`, '', '']) -%>
// <%- lintDisableNextLineUnused %>
<%- tplExport('function (options = {}) {', 'function (options: any = {}): RequestHandler {') %>
  return function <%= specs.middlewares[mwName].camel %>(req, res, next) {
    // <%- lintDisableNextLineNoConsole %>
    console.log('<%= mwName %> middleware is running')<%- sc %>
    next()<%- sc %>
  }<%- sc %>
}<%- tplJsOnly(sc) %>
