Sanity logosanity.ioAll Systems Operational© Sanity 2026
Change Site Theme
Sanity logo

Documentation

    • Overview
    • Platform introduction
    • Next.js quickstart
    • Nuxt.js quickstart
    • Astro quickstart
    • React Router quickstart
    • Studio quickstart
    • Build with AI
    • Content Lake
    • Functions
    • APIs and SDKs
    • Agent Actions
    • Visual Editing
    • Blueprints
    • Platform management
    • Dashboard
    • Studio
    • Canvas
    • Media Library
    • App SDK
    • Content Agent
    • HTTP API
    • CLI
    • Libraries
    • Specifications
    • Changelog
    • User guides
    • Developer guides
    • Courses and certifications
    • Join the community
    • Templates

Changelog

Track new features, improvements, and fixes across all Sanity products.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

On this page

Back to Changelog
  1. Changelog
  2. Sanity Studio

Improvements to Sanity TypeGen

Published: November 12, 2024

v3.64.0
Sanity Studio

✨ Highlights

Sanity TypeGen improvements

Quality of life-updates to Sanity TypeGen (thanks @okj579!):

  • TypeGen will no longer be confused by import statements using the pattern export * from 'filename.ts'
  • TypeGen now supports slightly more advanced types of string interpolation, like:
const query = defineQuery(`*[_type="asdf"] { 
    "linkA": ${linkQuery('linkA')},
}`)

Install or upgrade Sanity Studio

To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

On this page

  • ✨ Highlights
  • Sanity TypeGen improvements
  • Install or upgrade Sanity Studio
const query = defineQuery(`*[_type="asdf"] { 
    "linkA": ${linkQuery('linkA')},
}`)