Skip to content

Commit

Permalink
fix: do not add conflicting overwriteCommand type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowusr committed Mar 25, 2024
1 parent 6445591 commit e55a099
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/browser/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ declare global {

getConfig(): Promise<BrowserConfig>;

overwriteCommand<IsElement extends boolean = false>(
name: string,
func: OverwriteCommandFn<IsElement>,
attachToElement?: IsElement,
proto?: Record<string, any>, // eslint-disable-line @typescript-eslint/no-explicit-any
instances?: Record<string, WebdriverIO.Browser | WebdriverIO.MultiRemoteBrowser>,
): void;

/**
* Takes a screenshot of the passed selector and compares the received screenshot with the reference.
*
Expand Down

0 comments on commit e55a099

Please sign in to comment.