mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
Add type
This commit is contained in:
1 parent
decb0b9cd8
commit
eb115fdd4f
1 file changed
+1
-1
@@ -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)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user