[feature]: Types for components.
its-kunal opened this issue · comments
Kunal Agrawal commented
Is there an existing feature request for this?
- I have searched the existing issues
Summary
In the codebase, most of the files used any
as the return type of data. It would be great to have types for the API functions to maintain type safety and leverage the potential of using TypeScript.
Why should this be worked on?
- To improve codebase
- Maintain type safety and good developer experience.
Repository
blog-website
Kunal Agrawal commented
Hey @nehagup, can I use graphql queries present in lib/api.ts
as a reference for the types?
Neha Gupta commented
@its-kunal this is a very good initiative, yes please go ahead.
Ameer jafar commented
@nehagup can i work on this one i wanted to do this one.