Having an issue with a TypeScript method that I've written:
createSomeData(args: { data: Data, helpfulInfo?: Info, context?: UIContext }): Promise<IDataModel>;
The main problem I'm facing is that I can't seem to call it properly. I attempted to use an Array or Tuple, but I still couldn't get it to work.
SomeClass.createSomeData(mydata, myhelpfulinfo); //error
Any suggestions on how I can resolve this dilemma?