-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
fix(types): replace Hono with HonoBase to get better consistency of types #3580
Conversation
@m-shaka Thanks! Great! What I find a little curious is that the type of the value returned by |
The behavior I commented is ideal, so if it is the correct behavior you expected, let's go with it. |
I guess this is because Line 102 in e7732a5
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3580 +/- ##
========================================
Coverage 94.71% 94.71%
========================================
Files 158 158
Lines 9535 9535
Branches 2774 2886 +112
========================================
Hits 9031 9031
Misses 504 504 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@m-shaka Thanks! Let's go with this. |
The author should do the following, if applicable
bun run format:fix && bun run lint:fix
to format the codeI don't understand the cause well, but this change resolved #3485 (comment)
Also, I removed mutual dependency between
Hono
andHonoBase
:There are subclasses of
HonoBase
other thanHono
, so return types ofHandlerInterface
should not beHono
.