mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
Fix middleware function name in @types/koa-router
`middlewares` should be `middleware` https://github.com/alexmingoia/koa-router/blob/master/lib/router.js#L314
This commit is contained in:
Vendored
+1
-1
@@ -219,7 +219,7 @@ declare class Router {
|
||||
/**
|
||||
* Returns router middleware which dispatches a route matching the request.
|
||||
*/
|
||||
middlewares(): Router.IMiddleware;
|
||||
middleware(): Router.IMiddleware;
|
||||
|
||||
/**
|
||||
* Returns separate middleware for responding to `OPTIONS` requests with
|
||||
|
||||
Reference in New Issue
Block a user