Sanity Library Reference Docs
    Preparing search index...

    Variable createClientConst

    createClient: (config: ClientConfig) => SanityClient = exp.createClient

    Type declaration

    As of API version v2025-02-19, the default perspective used by the client has changed from raw to published. https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog