treefarmstudio / astro-sanity

This is a helper package to integrate Astro and Sanity
https://www.npmjs.com/package/astro-sanity
MIT License
102 stars 10 forks source link

Add type to useSanityClient #19

Closed dennis-adamczyk closed 1 year ago

dennis-adamczyk commented 1 year ago

For use in TypeScript added a type to useSanityClient because it would be any otherwise.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
astro-sanity-ssr ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2023 0:52am
astro-sanity-static ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2023 0:52am
jaydanurwin commented 1 year ago

Sorry it's taken so long to merge, thank you @dennis-adamczyk!