An enum with a single value is type-inferred by TSC to be some thing that we have no support for. I looked into it for a bit, it's not trivial to extend it though.