Skip to content

Commit

Permalink
fix unnecessary use of types in getProperty command - fixes #10280
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Apr 27, 2023
1 parent 6c62800 commit 05d1fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webdriverio/src/scripts/getProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
* @param {string} property requested property
* @return {String} the value of the property
*/
export default function getProperty (element: HTMLElement, property: keyof HTMLElement) {
export default function getProperty (element: any, property: string) {
return element[property]
}

0 comments on commit 05d1fac

Please sign in to comment.