Is it possible to create a type from a union type where each element of the union will be transformed according to a pattern? I just need to put a prefix:
type EventNames = 'DragStart' | 'Drag' | 'DragStop'
type HandlerNames = Prefix<'on', EventNames> // 'onDragStart' | 'onDrag' | 'onDragStop'