Skip to content

fix: resolve all ESLint warnings for TypeScript strict typing #8

fix: resolve all ESLint warnings for TypeScript strict typing

fix: resolve all ESLint warnings for TypeScript strict typing #8

Triggered via pull request August 3, 2025 16:47
Status Failure
Total duration 19s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 notices
test (18)
Process completed with exit code 2.
test (18): src/tools/xcodebuild/build.ts#L94
Type '{ destination: boolean; configuration: boolean; }' is not assignable to type 'string | number | boolean | null | undefined'.
test (18): src/tools/xcodebuild/build.ts#L93
Type '{ success: boolean; exitCode: number; errorCount: number; warningCount: number; duration: number | undefined; target: string | undefined; hasErrors: boolean; hasWarnings: boolean; firstError: string; buildSizeBytes: number; }' is not assignable to type 'string | number | boolean | null | undefined'.
test (18): src/tools/simctl/list.ts#L58
Object literal may only specify known properties, and 'availability' does not exist in type 'SimulatorFilters'.
test (18): src/tools/simctl/list.ts#L50
Type '{ totalDevices: number; availableDevices: number; bootedDevices: number; deviceTypes: string[]; commonRuntimes: string[]; lastUpdated: Date; cacheAge: string; bootedList: { name: string; udid: string; state: string; runtime: string; }[]; recentlyUsed: { ...; }[]; }' is not assignable to type 'string | number | boolean | null | undefined'.
test (18): src/tools/simctl/list.ts#L49
Type '{ deviceType: string | undefined; runtime: string | undefined; availability: "available" | "unavailable" | "all"; }' is not assignable to type 'string | number | boolean | null | undefined'.
test (18): src/tools/simctl/list.ts#L37
Argument of type 'import("/Users/runner/work/xc-mcp/xc-mcp/src/state/simulator-cache").CachedSimulatorList' is not assignable to parameter of type 'CachedSimulatorList'.
test (20)
The operation was canceled.
test (20): src/tools/xcodebuild/build.ts#L94
Type '{ destination: boolean; configuration: boolean; }' is not assignable to type 'string | number | boolean | null | undefined'.
test (20): src/tools/xcodebuild/build.ts#L93
Type '{ success: boolean; exitCode: number; errorCount: number; warningCount: number; duration: number | undefined; target: string | undefined; hasErrors: boolean; hasWarnings: boolean; firstError: string; buildSizeBytes: number; }' is not assignable to type 'string | number | boolean | null | undefined'.
test (20): src/tools/simctl/list.ts#L58
Object literal may only specify known properties, and 'availability' does not exist in type 'SimulatorFilters'.
test (20): src/tools/simctl/list.ts#L50
Type '{ totalDevices: number; availableDevices: number; bootedDevices: number; deviceTypes: string[]; commonRuntimes: string[]; lastUpdated: Date; cacheAge: string; bootedList: { name: string; udid: string; state: string; runtime: string; }[]; recentlyUsed: { ...; }[]; }' is not assignable to type 'string | number | boolean | null | undefined'.
test (20): src/tools/simctl/list.ts#L49
Type '{ deviceType: string | undefined; runtime: string | undefined; availability: "available" | "unavailable" | "all"; }' is not assignable to type 'string | number | boolean | null | undefined'.
test (20): src/tools/simctl/list.ts#L37
Argument of type 'import("/Users/runner/work/xc-mcp/xc-mcp/src/state/simulator-cache").CachedSimulatorList' is not assignable to parameter of type 'CachedSimulatorList'.
test (20)
The strategy configuration was canceled because "test._18" failed
test (18)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (18)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (20)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (20)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520