Skip to content

Commit 49cbb52

Browse files
Merge branch 'next' of https://github.com/supabase/supabase-js into j0_patch_revamped_constructor
2 parents 72b7ff3 + cf83a99 commit 49cbb52

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"dependencies": {
4040
"@supabase/functions-js": "^1.3.3",
4141
"@supabase/gotrue-js": "^1.23.0-next.15",
42-
"@supabase/postgrest-js": "^1.0.0-next.2",
42+
"@supabase/postgrest-js": "^1.0.0-next.6",
4343
"@supabase/realtime-js": "^1.8.0-next.13",
4444
"@supabase/storage-js": "^1.8.0-next.4",
4545
"cross-fetch": "^3.1.5"

src/SupabaseClient.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ export default class SupabaseClient<
157157
from<
158158
TableName extends string & keyof Schema['Tables'],
159159
Table extends Schema['Tables'][TableName]
160-
>(table: TableName): PostgrestQueryBuilder<Table> {
160+
>(table: TableName): PostgrestQueryBuilder<Table>
161+
from(table: string): PostgrestQueryBuilder<any>
162+
from(table: string): PostgrestQueryBuilder<any> {
161163
return this.rest.from(table)
162164
}
163165

0 commit comments

Comments
 (0)