File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,11 @@ export default class SupabaseClient<
130
130
}
131
131
132
132
// NOTE: signatures must be kept in sync with PostgrestClient.from
133
- from < TableName extends keyof Schema [ 'Tables' ] , Table extends Schema [ 'Tables' ] [ TableName ] > (
134
- relation : TableName
135
- ) : PostgrestQueryBuilder < Schema , Table , TableName >
136
- from < ViewName extends keyof Schema [ 'Views' ] , View extends Schema [ 'Views' ] [ ViewName ] > (
133
+ from <
134
+ TableName extends string & keyof Schema [ 'Tables' ] ,
135
+ Table extends Schema [ 'Tables' ] [ TableName ]
136
+ > ( relation : TableName ) : PostgrestQueryBuilder < Schema , Table , TableName >
137
+ from < ViewName extends string & keyof Schema [ 'Views' ] , View extends Schema [ 'Views' ] [ ViewName ] > (
137
138
relation : ViewName
138
139
) : PostgrestQueryBuilder < Schema , View , ViewName >
139
140
/**
You can’t perform that action at this time.
0 commit comments