I'm getting this error when deploying my application to Vercel
node_modules/@supabase/storage-js/src/lib/helpers.ts(13,30): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
Error: Command "npm run build" exited with 2
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Create a React app using Vite, with the following tsconfig
Bug report
Describe the bug
I'm getting this error when deploying my application to Vercel
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Create a React app using Vite, with the following tsconfig
Expected behavior
Build will run fine.
System information
Additional context
Editing the source code directly makes the build work on my localhost, here's the original code.
Here's the updated code: