error TS2322: Type ‘string | string[]’ is not assignable to type ‘string’
I have an @Input() property with the data type string | string[], before upgrading to angular 16 it was working fine but after I upgraded to Angular 16 I have been getting this error.
I am not sure where I am wrong.