Anyone know what ```Type 'string | string[]' is no...
# orm-help
s
Anyone know what
Copy code
Type 'string | string[]' is not assignable to type 'string | StringFieldUpdateOperationsInput | undefined'.
  Type 'string[]' is not assignable to type 'string | StringFieldUpdateOperationsInput | undefined'.ts(2322)
Is about? I'm not sure why the type is being defined with string[]
👀 1
t
Please show how input value and what method you’re going to use. It looks not prisma bug but your fault about assigning value without additional information. I think you just only specify value have possibility it is both string or string[] to api args.