
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeThat's awesome that you built @sanity-typed/types! Contributing improved TypeScript types to Sanity would be a great addition to the project. Here's how to approach this:
Before diving into PRs, definitely check out the CONTRIBUTING.md in the Sanity repo. The key points are:
main branchSince you mentioned needing to make "big changes" to get your improvements into Sanity, here's what I'd suggest:
Open a GitHub Discussion or Issue first - Head to the Sanity GitHub repo and either:
Explain what improvements your library provides and how they'd benefit the core library. Link to your @sanity-typed/types repo so they can see what you've built.
Join the Sanity Community Slack - The Sanity Community is very active and helpful. You can connect with core maintainers there to discuss your proposal informally before investing significant time.
Start small if possible - If you can break your changes into smaller, incremental PRs rather than one massive change, that's usually easier to review and merge. Even if the end goal requires big changes, see if there's a path to get there incrementally.
Reference existing patterns - Look at recent TypeScript-related PRs in the repo to understand their code style and testing expectations.
Getting alignment upfront is crucial because:
The Sanity team is generally very open to community contributions, but for architectural changes to core types, they'll definitely want to discuss the approach before you invest weeks of work. Starting the conversation now will save you time and increase the chances of your work being merged!
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store