Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 573 Bytes

kibana-plugin-public.handlercontexttype.md

File metadata and controls

13 lines (8 loc) · 573 Bytes

Home > kibana-plugin-public > 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;