Update README, dependencies, and migrate to TS

This commit is contained in:
Antoine Phan
2025-07-19 13:18:16 -04:00
parent f4e398ebe2
commit d8ead1038b
7 changed files with 181 additions and 213 deletions

View File

@@ -12,7 +12,7 @@ const client = createClient({
*
* @param {String} query the GROQ query from Sanity CMS
*/
export async function getFromCMS(query) {
export async function getFromCMS(query: string) {
return await client.fetch(query);
}