Skip to content

Argument of type 'string' is not assignable to parameter of type 'never'. when running project that uses Supabase #1673

@eRuaro

Description

@eRuaro

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

A typescript type issue on the code.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Run a supabase project using storage-js

Expected behavior

Application runs with no problems!

Screenshots

If applicable, add screenshots to help explain your problem.
image

System information

  • OS: Linux
  • Version of supabase-js: 2.36.0
  • Version of storage-js: 2.5.4
  • Version of Node.js: 19.6

Additional context

Add any other context about the problem here.

I'm also getting this error when running npm run build thus I can't deploy a new version of my frontend which I was hoping to accomplish yesterday until I had this issue after I restarted my TS server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstorage-jsRelated to the storage-js library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions