Type alias PreMiddlewareFunction<ThisType>
PreMiddlewareFunction<ThisType>: ((this, next, opts?) => void | Promise<void>)
Type declaration
-
- (this, next, opts?): void | Promise<void>
-
Parameters
-
this: ThisType
-
-
Optional
opts: Record<string, any>
Optional
Returns void | Promise<void>