Skip to content

Commit 8b1c85c

Browse files
committed
fix: adds missing error on PostgrestSingleResponseSuccess
1 parent 8cf6e00 commit 8b1c85c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/lib/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ interface PostgrestResponseFailure extends PostgrestResponseBase {
3838
export type PostgrestResponse<T> = PostgrestResponseSuccess<T> | PostgrestResponseFailure
3939

4040
interface PostgrestSingleResponseSuccess<T> extends PostgrestResponseBase {
41+
error: null
4142
data: T
4243
// For backward compatibility: body === data
4344
body: T

0 commit comments

Comments
 (0)