Skip to content

fix(types): overrides matchers return type from R to Promise<R>#1206

Merged
DudaGod merged 2 commits intomasterfrom
INFRADUTY-29836.fix_expect-webdriverio
Feb 13, 2026
Merged

fix(types): overrides matchers return type from R to Promise<R>#1206
DudaGod merged 2 commits intomasterfrom
INFRADUTY-29836.fix_expect-webdriverio

Conversation

@DudaGod
Copy link
Member

@DudaGod DudaGod commented Feb 12, 2026

No description provided.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 12, 2026

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/testplane@1206

commit: 1935029

@@ -0,0 +1,90 @@
export {};
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to solve it using d.ts, but in this case the types from the original library are still used.

): Promise<R>;
}
}
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I just use all methods from matchers and modify return type fomr R to Promise<R>

@DudaGod DudaGod merged commit f48b42c into master Feb 13, 2026
7 checks passed
@DudaGod DudaGod deleted the INFRADUTY-29836.fix_expect-webdriverio branch February 13, 2026 15:05
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

Comments