Type alias StatusHandler<CC>
Status
Handler
<CC>: ((ctx
: Context<CC>, res
: AxiosResponse<ResType<unknown>>, data
: ResType<unknown>) => void | Promise<unknown>)
Type declaration
-
- (ctx: Context<CC>, res: AxiosResponse<ResType<unknown>>, data: ResType<unknown>): void | Promise<unknown>
-
Returns void | Promise<unknown>
单个状态处理类型声明