supabase-js icon indicating copy to clipboard operation
supabase-js copied to clipboard

Generic type errors in the v2 SupabaseClient

Open rbogdy opened this issue 4 years ago • 2 comments

Bug report

Describe the bug

TS2314 errors after updating the supabase-js module to v2

A clear and concise description of what the bug is. my Angular v14 project is not starting because I receive several 'TS2314: Generic type' errors coming from the SupabaseClient class

To Reproduce

I am not able to reproduce the problem on StackBlitz I just updated a working supabase-js v1 project to v2 and started receiving these errors when trying to start the project locally

Expected behavior

My project would start and I can continue working on it

Screenshots

I added 3 screenshots: The errors, the Angular service in which I initialize the client and the package.json

System information

  • OS: [e.g. Windows]
  • Version of supabase-js: 2.0.1
  • Version of Node.js: 16.16.0 deps errors service

rbogdy avatar Oct 19 '22 05:10 rbogdy

Hey there, can you update the lib and verify if it works now?

soedirgo avatar Oct 19 '22 06:10 soedirgo

I confirm that the problem was solved by the update. Thank you for fixing this in such a short time.

rbogdy avatar Oct 19 '22 07:10 rbogdy