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: fix conflicting overwriteCommand type definition #884

Closed
wants to merge 1 commit into from

Conversation

shadowusr
Copy link
Member

@shadowusr shadowusr commented Mar 25, 2024

Existing overwriteCommand definition conflicts with wdio's definition due to an incompatibility between origCommand types: wdio's definition has return type of Promise<... | never>, while ours has Promise<any>. Since never is not assignable to any, it doesn't work. This PR replaces Promise<any> with just any.

@shadowusr shadowusr force-pushed the users/shadowusr/INFRADUTY-26708 branch from e55a099 to a76f082 Compare March 25, 2024 17:19
@shadowusr shadowusr force-pushed the users/shadowusr/INFRADUTY-26708 branch from a76f082 to 8623b5e Compare March 26, 2024 07:17
@shadowusr shadowusr changed the title fix: do not add conflicting overwriteCommand type definition fix: fix conflicting overwriteCommand type definition Mar 26, 2024
@shadowusr shadowusr closed this Mar 26, 2024
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