Skip to content

Commit b93ab85

Browse files
committed
Correct method signature of CustomMiddlewareThatThrows.use()
1 parent 4a56d17 commit b93ab85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/koa-middlewares.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe("koa middlewares", () => {
6868

6969
class TestCustomMiddlewareWhichThrows implements KoaMiddlewareInterface {
7070

71-
use(request: any, response: any, next?: Function): any {
71+
use(context: any, next?: Function): any {
7272
throw new NotAcceptableError("TestCustomMiddlewareWhichThrows");
7373
}
7474

0 commit comments

Comments
 (0)