Reproduction
Decorators that accept a list require an array even when the list has one item:
src/build.command.ts
import { SubOptions } from 'func'
@SubOptions({ name: 'verbose' } as any)
class BuildCommand {}How to fix it
Wrap the supplied item in an array:
src/build.command.ts
@SubOptions([{ name: 'verbose' }])
class BuildCommand {}