Fixed linting warnings by replacing 'any' return types in WXT function
declarations with proper TypeScript interfaces. This improves type safety
without affecting functionality.
Changes:
- Added BackgroundDefinition and ContentScriptDefinition interfaces
- Updated defineBackground and defineContentScript return types
- Resolves 2 lint/suspicious/noExplicitAny warnings
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fix TypeScript compilation errors in CI by removing dependency on WXT's auto-generated .wxt/tsconfig.json file which doesn't exist during lint phase.
Changes:
- Remove "extends": "./.wxt/tsconfig.json" from tsconfig.json
- Add manual type definitions for WXT global functions (defineBackground, defineContentScript)
- Include proper file paths and type declarations
- Ensure CI can run lint checks before WXT generates its configuration
This resolves the CI error: "Cannot read file '.wxt/tsconfig.json'" during the lint step.