Activity
Mon
Wed
Fri
Sun
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
What is this?
Less
More

Memberships

University of Code

5.3k members • Free

1 contribution to University of Code
Help with sanity typegen
Hi Papafam, I have integrated sanity in my existing react-vite project. I am now adding typescript in my project. I have correctly created schemaTypes and GROQ queries but when generate types with these commands: npx sanity schema extract - npx sanity typegen generate, it creates types for schema but do not generate types for GROQ queries whereas I have 4 GROQ queries in my project. The exact message is as: Generated TypeScript types for 15 schema types and 0 GROQ queries in 0 files into: ./sanity.types.ts Can some one please help me to fix this error!
1
0
1-1 of 1
Muhammad Sohail Shams
1
4points to level up
@muhammad-sohail-shams-7182
An aspiring software developer looking for new opportunities...

Active 132d ago
Joined Nov 1, 2024
Powered by