Skip to content

Commit

Permalink
Update: Next middleware now returns unknown.
Browse files Browse the repository at this point in the history
  • Loading branch information
dragolea committed Feb 14, 2024
1 parent 172eef4 commit d108d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ enum HandlerType {
/**
* Use this type to annotate the 'next' parameter of the Middleware use method
*/
type Next = () => Promise<unknown>;
type Next = () => unknown;

type NonEmptyArray<T> = [T, ...T[]];

Expand Down

0 comments on commit d108d52

Please sign in to comment.