You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix TypeScript compilation errors across patch, scan, and util modules:
Spinner type fixes:
- Update handler interfaces to accept `Spinner | null` instead of `Spinner`
- Add optional chaining (`?.`) for all spinner method calls
- Convert `Spinner | null` to `Spinner | undefined` where needed
Process.env fixes:
- Use bracket notation for environment variable access (`process.env['VITEST']` instead of `process.env.VITEST`)
- Fixes index signature violations in interactive-help.mts and with-subcommands.mts
Optional models fixes:
- Add type cast through `unknown` for MODEL_REGISTRY indexing
- Use conditional spread for optional checksum parameter
These fixes enable strict TypeScript checking without compromising functionality.
0 commit comments