-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typing the table store #15220
base: master
Are you sure you want to change the base?
Typing the table store #15220
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
} | ||
return savedTable | ||
} | ||
|
||
const deleteTable = async table => { | ||
async delete(table: { _id: string; _rev: any }) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does _rev
need to be any here - is _rev?: string
not sufficient?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, mistake. Done. It should always be required, and it looks like there is a single usage were we are passing the full table
Description
Type table store