You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, npx sanity typegen generate generates TypeScript types for all schema types and all GROQ queries.
I request an option to generate types only for GROQ queries. This option is useful because I need types only for the data returned from my queries for handing in TS. So, I only a need a simple file with those types.
The text was updated successfully, but these errors were encountered:
Currently,
npx sanity typegen generate
generates TypeScript types for all schema types and all GROQ queries.I request an option to generate types only for GROQ queries. This option is useful because I need types only for the data returned from my queries for handing in TS. So, I only a need a simple file with those types.
The text was updated successfully, but these errors were encountered: