Hello,
the ParameterVariable attribute "typeName" has the following documentation:
Only for varType VOID: The name of a struct, FB or interface type that the variable must be of. Use keyword STRUCT to allow any struct instance (not including FB instances).
However, it also works for Enums. I had just read the documentation and assumed enums wouldn't work, until a colleague made me aware they do. Please add enums to the explanation.