From d49d62d162f07958d61fac4b0c819c14acbd206e Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Tue, 14 Jan 2025 14:58:15 +0800 Subject: [PATCH] fix: export PostgrestError as a class --- src/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index cae96953..ff601926 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,10 +3,10 @@ import type { GenericSchema, SupabaseClientOptions } from './lib/types' export * from '@supabase/auth-js' export type { User as AuthUser, Session as AuthSession } from '@supabase/auth-js' -export type { - PostgrestResponse, - PostgrestSingleResponse, - PostgrestMaybeSingleResponse, +export { + type PostgrestResponse, + type PostgrestSingleResponse, + type PostgrestMaybeSingleResponse, PostgrestError, } from '@supabase/postgrest-js' export {