Skip to content

Comments

fix: fix type error for RemoteDebugger#2726

Merged
KazuCocoa merged 3 commits intomasterfrom
fix-type
Feb 10, 2026
Merged

fix: fix type error for RemoteDebugger#2726
KazuCocoa merged 3 commits intomasterfrom
fix-type

Conversation

@KazuCocoa
Copy link
Member

To fix:

> appium-xcuitest-driver@10.21.1 build
> tsc -b

lib/commands/context.ts:440:10 - error TS2769: No overload matches this call.
  Overload 1 of 2, '(opts: RemoteDebuggerRealDeviceOptions, realDevice: true): RemoteDebuggerRealDevice', gave the following error.
    Argument of type 'boolean' is not assignable to parameter of type 'true'.
  Overload 2 of 2, '(opts: RemoteDebuggerOptions, realDevice: false): RemoteDebugger', gave the following error.
    Object literal may only specify known properties, and 'udid' does not exist in type 'RemoteDebuggerOptions'.

440   return createRemoteDebugger(
             ~~~~~~~~~~~~~~~~~~~~



Found 1 error.

@KazuCocoa KazuCocoa merged commit 7d8d3d0 into master Feb 10, 2026
15 of 23 checks passed
@KazuCocoa KazuCocoa deleted the fix-type branch February 10, 2026 05:28
github-actions bot pushed a commit that referenced this pull request Feb 10, 2026
## [10.21.2](v10.21.1...v10.21.2) (2026-02-10)

### Bug Fixes

* fix type error for RemoteDebugger ([#2726](#2726)) ([7d8d3d0](7d8d3d0))
@github-actions
Copy link
Contributor

🎉 This PR is included in version 10.21.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants