You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating the first few tasks we noticed that our types within actions are pretty annoying, as the task arguments are typed as Record<string, unknown>.
We could infer a mostly complete type for the task arguments doing something like this.
We would infer the types of arguments that are available in that task definition/override and use Record<string, any> for anything else. This sounds like a reasonable trade-off.
The text was updated successfully, but these errors were encountered:
When creating the first few tasks we noticed that our types within actions are pretty annoying, as the task arguments are typed as
Record<string, unknown>
.We could infer a mostly complete type for the task arguments doing something like this.
We would infer the types of arguments that are available in that task definition/override and use
Record<string, any>
for anything else. This sounds like a reasonable trade-off.The text was updated successfully, but these errors were encountered: