Home > kibana-plugin-public > HandlerContextType
Extracts the type of the first argument of a HandlerFunction to represent the type of the context.
Signature:
export declare type HandlerContextType<T extends HandlerFunction<any>> = T extends HandlerFunction<infer U> ? U : never;