© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
4 replies
Bonteq

Performing an update in supabasejs v2 'is not assignable to parameter of type never'

I'm trying to perform a
.update
.update
using the following code
    const { error } = await supabase
      .from('videos')
      .update({ current_time: currentTime })
      .eq('user', user.value.id)
    const { error } = await supabase
      .from('videos')
      .update({ current_time: currentTime })
      .eq('user', user.value.id)


and it is giving me the error
Argument of type '{ current_time: number; }' is not assignable to parameter of type 'never'.ts(2345)
Argument of type '{ current_time: number; }' is not assignable to parameter of type 'never'.ts(2345)


What is the appropriate solution to this?
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

SupabaseJS v2 Typescript
SupabaseSSupabase / help-and-questions
4y ago
supabasejs is returning unknown type for nested tables
SupabaseSSupabase / help-and-questions
4y ago
rpc method expects never type instead of string
SupabaseSSupabase / help-and-questions
4y ago
supabase v2 - type returned is undefined[] | undefined
SupabaseSSupabase / help-and-questions
4y ago