Skip to content

Commit

Permalink
Revert "fix(types): enhance reusability of pres"
Browse files Browse the repository at this point in the history
This reverts commit 2766ed2.
  • Loading branch information
Marsup committed Mar 13, 2024
1 parent 041afe0 commit 8a63a76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/types/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export namespace Lifecycle {
type Method<
Refs extends ReqRef = ReqRefDefaults,
R extends ReturnValue<any> = ReturnValue<Refs>
> = <RouteRef extends Refs>(
> = (
this: MergeRefs<Refs>['Bind'],
request: Request<RouteRef>,
h: ResponseToolkit<RouteRef>,
request: Request<Refs>,
h: ResponseToolkit<Refs>,
err?: Error | undefined
) => R;

Expand Down

0 comments on commit 8a63a76

Please sign in to comment.