Skip to content

Commit

Permalink
Update maxBody type to match documentation and dependency type
Browse files Browse the repository at this point in the history
  • Loading branch information
kstolp committed Jan 30, 2021
1 parent f97b85a commit 4de56dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/koa-joi-router/index.d.ts
Expand Up @@ -41,7 +41,7 @@ declare namespace createRouter {
query?: Joi.SchemaLike;
params?: Joi.SchemaLike;
body?: Joi.SchemaLike;
maxBody?: number;
maxBody?: number | string;
failure?: number;
type?: 'form'|'json'|'multipart';
formOptions?: CoBody.Options;
Expand Down

0 comments on commit 4de56dd

Please sign in to comment.