type UnionThing<T> = T | (value:T)=>T
I have union type like this : one generic primitive value and one function type
type FnThing<T> = ~~~~~ // expect it to be (value:T)=>T
Now I want to pick function type only but don't know how to.
Utility Type Pickis for key value and I don't have key in this union type.
How can I achieve this?