Sanity Library Reference Docs
    Preparing search index...

    Type Alias ResolveDocument<TDocumentType, TSchemaId>Beta

    ResolveDocument: SanityDocument<TDocumentType, TSchemaId>

    Resolves a document using declarations from experimental Typegen. Preserves the legacy lookup behavior while the SDK uses released groq.

    Type Parameters

    • TDocumentType extends string = string
    • TSchemaId extends string = string