Of course, you should be able to type your content quickly!
Blog post from Sanity
Sanity has launched a beta version of Sanity TypeGen, an official TypeScript support tool for generating TypeScript types from Sanity Studio schemas and GROQ query results, aimed at enhancing developer experience without losing GROQ's flexibility. This initiative addresses the growing use of TypeScript for its ability to improve error detection and developer tooling, particularly for business-critical web applications. The development of Sanity TypeGen was informed by community feedback, existing projects like sanity-codegen and GROQD, and the need to maintain performance and expressive content modeling. The launch reflects a collaborative effort to integrate TypeScript into Sanity's ecosystem, with an emphasis on learning from early explorations and community contributions. The tool is designed to streamline the process of using TypeScript with Sanity, allowing developers to define content models as code without redundancy in front-end development.