Skip to content

Commit 7ba8408

Browse files
committed
fix: export PostgrestError as a class
1 parent 80d3c76 commit 7ba8408

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import type { GenericSchema, SupabaseClientOptions } from './lib/types'
33

44
export * from '@supabase/auth-js'
55
export type { User as AuthUser, Session as AuthSession } from '@supabase/auth-js'
6-
export type {
7-
PostgrestResponse,
8-
PostgrestSingleResponse,
9-
PostgrestMaybeSingleResponse,
6+
export {
7+
type PostgrestResponse,
8+
type PostgrestSingleResponse,
9+
type PostgrestMaybeSingleResponse,
1010
PostgrestError,
1111
} from '@supabase/postgrest-js'
1212
export {

0 commit comments

Comments
 (0)