https://linen.dev logo
An alternative I was considering, was making stati...
# haxe
p
An alternative I was considering, was making static extension methods for
Int
EnumValue
, and
String
to add a
.toMapKey():String
function to these types. Then make
<T:MapKey>
type. Unfortunately, it doesn't recognize the static extension methods as meeting the typedef requirement