© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
6 replies
miguel.e

supabase v2 - type returned is undefined[] | undefined

I'm sure I'm missing something here. I'm using supabase-v2 and loaded Database types using the cli tool.

I'm initializing the supabase client like so:
createClient<Database>
createClient<Database>


But the data returned is of type
undefined[] | undefined
undefined[] | undefined
.
I'm on supabase-js 2.0.0-rc.10.
cleanshot_09_26_at_11_322x.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

supabase v2 fails to retrieve type definitions
SupabaseSSupabase / help-and-questions
4y ago
supabase-js v2 Database type creating intellisense issues
SupabaseSSupabase / help-and-questions
4y ago
Supabase database returned no results.
SupabaseSSupabase / help-and-questions
5mo ago
Supabase v2 - Slack provider
SupabaseSSupabase / help-and-questions
4y ago