-
Notifications
You must be signed in to change notification settings - Fork 483
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Likely because of bumping postgrest-js with v2.39.2 but when using strict in tsconfig and any code like this:
const { error } = await supabase
.from('Messages')
.update({ deletedAt: moment().toISOString()})
gives me Argument of type '{ deletedAt: string; }' is not assignable to parameter of type 'never'.
I have confirmed I have the latest generated types.
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
See above
To Reproduce
Upgrade to v2.39.2 or above
Expected behavior
TS linter shouldn't complain
System information
- OS: [e.g. macOS, Windows]
- Browser (if applies) [e.g. chrome, safari]
- Version of supabase-js: [e.g. 2.39.2]
Additional context
Add any other context about the problem here.
pierre-charpentier, tylerdurrett, sangonz193, bawgz, dvsmc and 8 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working