Type Alias: SelectHandler<T>
SelectHandler<
T
>:T
extends {mode
:"single"
; } ?SelectHandlerSingle
<T
> :T
extends {mode
:"multiple"
; } ?SelectHandlerMulti
<T
> :T
extends {mode
:"range"
; } ?SelectHandlerRange
<T
> :undefined
Type Parameters​
Type Parameter |
---|
T extends {mode : Mode ;required : boolean ; } |