-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Some typings created during the oauth2 work #15812
base: master
Are you sure you want to change the base?
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
@@ -764,7 +764,7 @@ if (descriptions.length) { | |||
const verbs = ["read", "create", "update", "delete"] | |||
for (const verb of verbs) { | |||
const query = await createQuery({ | |||
fields: { json: {}, extra: { actionType: "invalid" } }, | |||
fields: { json: {}, extra: { actionType: "invalid" as 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.
I tend to prefer throwing a // @ts-expect-error
in these cases because it makes it more explicit, you can explain you're testing an invalid value on purpose. Also at some point I'd love to start tracking the count of any
in the codebase and aim toward 0.
Description
Convert some files around rest picker