Anyone able to use typescript for search summary? ...
# suitescript
k
Anyone able to use typescript for search summary? im using "typings-suitescript-2.0"
e
I don't use typescript so take this with a big grain of salt, but looking at the interface for
createColumn
, it expects
summary
to be a
Summary
, not a `string`: https://github.com/headintheclouddev/typings-suitescript-2.0/blob/e86d9e25118183eb41cccd01ff90e98e85f8b8c7/N/search.d.ts#L179. e.g. Instead of
"GROUP"
, it likely wants you to use
search.Summary.GROUP
Incidentally I would also recommend that for anyone not using TypeScript as well
1000000 1
k
thank you, had figured it out earlier haha