Template literals throwing typescript error in V2 - Supabase