Ah, missed something obvious, you need to access the Enum with through the class name, rather than the object name:

MyClass.FirstValue returns '1'

MyObject.FirstValue returns 'undefined'