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

ChainablePromiseElement is of type any #1699

Open
aboyton opened this issue Nov 1, 2024 · 1 comment
Open

ChainablePromiseElement is of type any #1699

aboyton opened this issue Nov 1, 2024 · 1 comment
Labels
Bug 🐛 help wanted Extra attention is needed

Comments

@aboyton
Copy link

aboyton commented Nov 1, 2024

It seems in webdriverio/webdriverio@986cfe8#diff-1f8b28dd371ec47441bd71ea59bd260aba9e766f812392c898c2c436357b78f8 the definition of ChainablePromiseElement was changed to remove the type parameter, but

type ChainablePromiseElement = import('webdriverio').ChainablePromiseElement<WebdriverIO.Element>
still has it.

This leads to ChainablePromiseElement being of type any when you import this code.

@christian-bromann christian-bromann added help wanted Extra attention is needed Bug 🐛 labels Nov 1, 2024
@christian-bromann
Copy link
Member

@aboyton thanks for reporting! I think we can replace all ChainablePromiseElement types with just WebdriverIO.Element

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants