-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
koa-better-body types are broken #150
Comments
Thank you for raising this issue! We will try and get back to you as soon as possible. |
Hi there. I think I received such issue previously. I think there was a PR there to revert back to the old version. Can't follow now, probably in the coming days. The v3.2.x is nothing new. You can use the 3.1.x or 3.0.x types. |
There are 3.0 types but they don't seem to be complete. I ended up using a different solution, thought I would let you know though! |
Yea, thanks, I should fix that. I had it in mind. |
I'm also running into this issue. I was using @stevebaxter what was the different solution you found? |
Just continue using them? Nothing has changed in the versions from last year, year-and-a-half. |
@macsj200 - I needed the raw body, I ended up unpacking it myself with raw-body, e.g.:
|
@tunnckoCore when you say "continue using them" what do you mean? Like I said, the types did not seem to be included in |
Ah sorry, misread it. |
No worries, let me know if there's a solution you can think of or if you think I'm just doing something wrong. Currently I'm thinking I will just have to shoehorn some custom types in the app code and use |
Support plan
Enterprise): Community
Context
What are you trying to achieve or the steps to reproduce?
Use koa-better-body with typescript
What was the result you got?
@types/koa-better-body says that types are already included with koa-better-body but they are not
What result did you expect?
A type definition file, either at koa-better-body or at @types/koa-better-body
The text was updated successfully, but these errors were encountered: