I would like to use anyof because I have a field that can be of many different types.
Is this good practice/recommended to defined the field such as:
value: anyof(Currency, Country, datetime, boolean, integer, string)
Is there an alternative?

You can also return the type any directly, though this is generally bad practice.