Opensearch dashboards.handlercontexttype
Home > opensearch-dashboards > HandlerContextType
HandlerContextType type
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;
References: HandlerFunction