Generic type can not be seen while using wasp/client/operations
I have created a function that in db/operation.ts and i am using it in routes/informationPage.tsx like "import {getTableData} from 'wasp/client/operations'; Thats meaning i am calling this function through the wasp. In operations.ts file the function is written like " interface getTableDataProps<T> { ........ };
However, i am getting this error and when we import function from wasp/client/operations it seems like no T generic type and if we imports it directly from operations.ts file it has generic type <T> so that i can call the function. Otherwise I cannot call the function through the wasp
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.