Why not `types.length !== 1` ??