File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/event-handler/src/types Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -79,16 +79,14 @@ type RestRouteOptions = {
79
79
middleware ?: Middleware [ ] ;
80
80
} ;
81
81
82
- type NextFunction = ( ) => // biome-ignore lint/suspicious/noConfusingVoidType: To ensure next function is awaited
83
- | Promise < HandlerResponse | void >
84
- | HandlerResponse
85
- | void ;
82
+ // biome-ignore lint/suspicious/noConfusingVoidType: To ensure next function is awaited
83
+ type NextFunction = ( ) => Promise < HandlerResponse | void > ;
86
84
87
85
type Middleware = ( args : {
88
86
reqCtx : RequestContext ;
89
87
next : NextFunction ;
90
88
// biome-ignore lint/suspicious/noConfusingVoidType: To ensure next function is awaited
91
- } ) => Promise < HandlerResponse | void > | HandlerResponse | void ;
89
+ } ) => Promise < HandlerResponse | void > ;
92
90
93
91
type RouteRegistryOptions = {
94
92
/**
You can’t perform that action at this time.
0 commit comments