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

Fix task module typings #119

Merged
merged 1 commit into from
Mar 31, 2025
Merged

Fix task module typings #119

merged 1 commit into from
Mar 31, 2025

Conversation

heyitsaamir
Copy link
Contributor

These add explicit literal types to TaskModuleContinueResponse and TaskModuleMessageResponse. Without this the discriminated union for TaskModuleResponse doesn't work.

task?: TaskModuleContinueResponse | TaskModuleMessageResponse;

@heyitsaamir heyitsaamir requested a review from aacebo March 28, 2025 23:54
@aacebo aacebo merged commit 361b068 into main Mar 31, 2025
5 checks passed
@aacebo aacebo deleted the aamirj/fixTaskModuleTypings branch March 31, 2025 17:59
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.

2 participants