Skip to content
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

add task args types #142

Merged
merged 3 commits into from
Apr 4, 2021
Merged

add task args types #142

merged 3 commits into from
Apr 4, 2021

Conversation

ryanatkn
Copy link
Owner

@ryanatkn ryanatkn commented Apr 4, 2021

This adds types for task args. Previously, it had no types, and we had a lot of type casting to compensate. Now, we have a good low-overhead pattern that lets external users import the TaskArgs interface type that each task exports by convention. (only those that actually need to; many or most don't need args types)

@ryanatkn ryanatkn merged commit 7217e32 into main Apr 4, 2021
@ryanatkn ryanatkn deleted the args branch April 4, 2021 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant