You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constcustom_search=search.create({type: search.Type.SALES_ORDER,filters: [...],// some filters herecolumns: ["cust_field1","cust_field2"]})// custom_search.columns// TSC tells it's type is `string[]`
is what I get rn. is string[].... that's meh.... I specified array, that is already populed with specific values.
it would be nice, if TSC would tell it's type is ["cust_field1", "cust_field2"].
This would be possible with something like (ofc it's not really working solution, we need to handle search.column and it's properties too):
let say for example I have instance of search.
is what I get rn. is
string[]
.... that's meh.... I specified array, that is already populed with specific values.it would be nice, if TSC would tell it's type is
["cust_field1", "cust_field2"]
.This would be possible with something like (ofc it's not really working solution, we need to handle search.column and it's properties too):
LET'S DO IT!
The text was updated successfully, but these errors were encountered: