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

I'm trying to perform a .update using the following code
    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)

What is the appropriate solution to this?
Was this page helpful?