Add rawBody to koa bodyparser

This commit is contained in:
Jussi Räsänen
2017-09-06 16:05:31 +03:00
parent 67d401c875
commit 7386bc5c68
+1
View File
@@ -19,6 +19,7 @@ import * as Koa from "koa";
declare module "koa" {
interface Request {
body: any;
rawBody: any;
}
}