I'm uncertain how I can structure the generic variant of a polkadotjs type for an on-chain Enum that looks sort of like this:
#[derive(TypeInfo, Debug, Clone, Encode, Decode, PartialEq)]
pub enum MyEnum<T: Codec> {
OptionA,
OptionB(T),
}
I get down to my polkadotjs types and:
...
MyEnum: {
_enum: {
OptionA: null,
OptionB: '...???',
},
},
What should go in OptionB to represent the generic portion?