Type alias Middleware

Middleware: ((next) => ((req) => Promise<Res>))

Type declaration

    • (next): ((req) => Promise<Res>)
    • Parameters

      Returns ((req) => Promise<Res>)

        • (req): Promise<Res>
        • Parameters

          Returns Promise<Res>

Generated using TypeDoc