fix(webdriverio): fix getHTML return-type#14832
fix(webdriverio): fix getHTML return-type#14832christian-bromann merged 9 commits intowebdriverio:mainfrom
Conversation
This will trigger ts(7023) on `WebdriverIO.Element#getHTML()`
…lement#getHTML()` Fixes: > 'getHTML' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.ts(7023)
…ict compiler checks
…e 'Browser & Element'.ts(2536)"
…arning Fixes: > Unexpected any. Specify a different type.eslint@typescript-eslint/no-explicit-any
|
@christian-bromann I've refactored from |
|
Hey gavvvr 👋 Thank you for your contribution to WebdriverIO! Your pull request has been marked as an "Expensable" contribution. We've sent you an email with further instructions on how to claim your expenses from our development fund. We are looking forward to more contributions from you in the future 🙌 Have a nice day, |
Fixes #14827
Proposed changes
Types of changes
Checklist
Backport Request
//: # (The current
mainbranch is the development branch for WebdriverIO v9. If your change should be released to the current major version of WebdriverIO (v8), please raise another PR with the same changes against thev8branch.)v9and doesn't need to be back-ported#XXXXXFurther comments
Reviewers: @webdriverio/project-committers