type definition for tables in customer function
I am Making helper function which need two args like
how to do typeScript for it
3 Replies
Your snippet of code is very broad and doesn’t convey the intention and usage of such helper, it’s very hard to help you with little information
i mean regardless he wants to know how to functionally use the tables
Seems to me that he can use this at runtime, but the problem is the types. But I’m not totally sure what’s the intention. He might need a generic for the type, but how could I know?