in src/type-generator.ts [574:576]
function supportedUnionOptionType(type: any): type is string { return type && (typeof(type) === 'string' && PRIMITIVE_TYPES.includes(type)); }