Reproduction
Decorator properties that accept a list, including aliases, require an array even when the list has one item:
src/build.command.ts
import { Enum, Value } from 'func'
class BuildCommand {
@Enum('production' as any)
@Value()
target: string = 'development'
}How to fix it
Wrap the supplied item in an array:
src/build.command.ts
class BuildCommand {
@Enum(['production'])
@Value()
target: string = 'development'
}