Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add type

Joshen Limeb115fdd4ffb
diff --git a/studio/lib/common/fetch/base.ts b/studio/lib/common/fetch/base.ts
index fc5bb9fa7c8..69bab2587ba 100644
--- a/studio/lib/common/fetch/base.ts
+++ b/studio/lib/common/fetch/base.ts
@@ -32,7 +32,7 @@ export async function handleHeadResponse<T>(
headers: string[]
): Promise<SupaResponse<T>> {
try {
- const res = {}
+ const res = {} as any
headers.forEach((header: string) => {
res[header] = response.headers.get(header)
})